diff options
author | Oleh Krehel <ohwoeowho@gmail.com> | 2015-05-08 16:43:21 +0200 |
---|---|---|
committer | Oleh Krehel <ohwoeowho@gmail.com> | 2015-05-08 16:43:21 +0200 |
commit | 9713747dffe7d34e61ce54584a524818307897b8 (patch) | |
tree | b923797f82717a5b15b5cba8e6615a18fdcad9de | |
parent | 5ed5a04963aa5372cd07d72e0330045e99609964 (diff) | |
download | emacs-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.
-rw-r--r-- | lisp/ffap.el | 2 |
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 |