summaryrefslogtreecommitdiff
path: root/lisp/ffap.el
diff options
context:
space:
mode:
authorOleh Krehel <ohwoeowho@gmail.com>2015-05-08 16:43:21 +0200
committerOleh Krehel <ohwoeowho@gmail.com>2015-05-08 16:43:21 +0200
commit9713747dffe7d34e61ce54584a524818307897b8 (patch)
treeb923797f82717a5b15b5cba8e6615a18fdcad9de /lisp/ffap.el
parent5ed5a04963aa5372cd07d72e0330045e99609964 (diff)
downloademacs-9713747dffe7d34e61ce54584a524818307897b8.tar.gz
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.
Diffstat (limited to 'lisp/ffap.el')
-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."
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