ffap.el (ffap-read-file-or-url): Fix completing-read call

* lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
  `completing-read' should be a symbol.
This commit is contained in:
Oleh Krehel 2015-05-08 16:43:21 +02:00
parent 5ed5a04963
commit 9713747dff

View file

@ -1288,7 +1288,7 @@ which may actually result in an URL rather than a filename."
nil
nil
(if dir (cons guess (length dir)) guess)
(list 'file-name-history)
'file-name-history
(and buffer-file-name
(abbreviate-file-name buffer-file-name)))))
;; Remove the special handler manually. We used to just let-bind