Fix `org-store-link'

* lisp/org.el (org-store-link): Fix parameter to `completing-read',
  which expects a string, not a symbol.

Reported-by: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
This commit is contained in:
Nicolas Goaziou 2018-01-18 23:09:12 +01:00
parent 78e4be78cb
commit daceceb424
1 changed files with 2 additions and 1 deletions

View File

@ -9679,7 +9679,8 @@ active region."
(cdr (assoc-string
(completing-read
"Which function for creating the link? "
(mapcar #'car results-alist) nil t name)
(mapcar #'car results-alist)
nil t (symbol-name name))
results-alist)))
t))))
(setq link (plist-get org-store-link-plist :link))