emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 9713747: ffap.el (ffap-read-file-or-url): Fix compl


From: Oleh Krehel
Subject: [Emacs-diffs] master 9713747: ffap.el (ffap-read-file-or-url): Fix completing-read call
Date: Fri, 08 May 2015 14:51:48 +0000

branch: master
commit 9713747dffe7d34e61ce54584a524818307897b8
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/ffap.el b/lisp/ffap.el
index 452275a..d78fd4c 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]