emacs-devel
[Top][All Lists]
Advanced

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

Re: Update filename history after several actions


From: Richard M. Stallman
Subject: Re: Update filename history after several actions
Date: Tue, 11 Oct 2005 10:46:51 -0400

    The simplest solution is to use the same method as employed by
    Recentf mode.  It maintains the list of recently opened files,
    no matter what user-level command visited them, and doesn't include
    automatically processed files.

    To update the list of recently opened files, Recentf mode puts
    the function `recentf-track-opened-file' in `find-file-hook'.

How does that avoid recording files that are processed by Lisp
programs that the user doesn't know about?  If those programs use
find-file-noselect, that would run find-file-hook, which would
record the file name thus being processed.




reply via email to

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