emacs-devel
[Top][All Lists]
Advanced

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

persistent file history


From: Markus Rost
Subject: persistent file history
Date: Thu, 8 May 2003 16:20:43 -0400 (EDT)

   I have the following entry in my `recentf-mode-hook':

      (lambda ()
        (dolist (f (reverse recentf-list))
          (add-to-list 'file-name-history f)))

I like this very much.  What about using abbreviate-file-name in that
function?  I mean here something like:

 (lambda nil
   (dolist
       (f
        (reverse recentf-list))
     (add-to-list 'file-name-history
                  (abbreviate-file-name f)))))

Since we are about values of history variables:  What about setting
the default value of yes-or-no-p-history as follows:

(setq yes-or-no-p-history (list "yes" "no"))




reply via email to

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