From: Oleh Krehel Date: Fri, 8 May 2015 14:43:21 +0000 (+0200) Subject: ffap.el (ffap-read-file-or-url): Fix completing-read call X-Git-Tag: emacs-25.0.90~2150 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9713747dffe7d34e61ce54584a524818307897b8;p=emacs.git 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. --- diff --git a/lisp/ffap.el b/lisp/ffap.el index 452275ab8c2..d78fd4c4b31 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -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