aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleh Krehel2015-05-08 16:43:21 +0200
committerOleh Krehel2015-05-08 16:43:21 +0200
commit9713747dffe7d34e61ce54584a524818307897b8 (patch)
treeb923797f82717a5b15b5cba8e6615a18fdcad9de
parent5ed5a04963aa5372cd07d72e0330045e99609964 (diff)
downloademacs-9713747dffe7d34e61ce54584a524818307897b8.tar.gz
emacs-9713747dffe7d34e61ce54584a524818307897b8.zip
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.
-rw-r--r--lisp/ffap.el2
1 files changed, 1 insertions, 1 deletions
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."
1288 nil 1288 nil
1289 nil 1289 nil
1290 (if dir (cons guess (length dir)) guess) 1290 (if dir (cons guess (length dir)) guess)
1291 (list 'file-name-history) 1291 'file-name-history
1292 (and buffer-file-name 1292 (and buffer-file-name
1293 (abbreviate-file-name buffer-file-name))))) 1293 (abbreviate-file-name buffer-file-name)))))
1294 ;; Remove the special handler manually. We used to just let-bind 1294 ;; Remove the special handler manually. We used to just let-bind