From 9713747dffe7d34e61ce54584a524818307897b8 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Fri, 8 May 2015 16:43:21 +0200 Subject: [PATCH] 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. --- lisp/ffap.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5