From: Francois Fleuret Date: Sun, 5 Jun 2011 13:12:58 +0000 (+0200) Subject: Fixed the adding to file-name-history in selector/find-file. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=76a60245bbaae8a584a5b48cceb550de848ee71e;p=elisp.git Fixed the adding to file-name-history in selector/find-file. --- diff --git a/selector.el b/selector.el index a48ef78..463d81d 100644 --- a/selector.el +++ b/selector.el @@ -352,7 +352,7 @@ There seems to be header-line refreshing problems with emacs21." (defun selector/find-file (filename) (if selector/add-to-file-name-history - (add-to-list 'file-name-history filename t)) + (add-to-list 'file-name-history filename)) (find-file filename)) (defun selector/pick-file (filename)