help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: recentf exclude question


From: Andreas Politz
Subject: Re: recentf exclude question
Date: Thu, 10 Sep 2009 01:43:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"B. T. Raven" <nihil@nihilo.net> writes:

> I want only .txt, .tex, and the .emacs files listed in recentf (under
> Open Recent). Is there some way to construct a regular expression to
> prevent other opened files from being added to the list?
>
> Thanks,
> Ed

Try this.

(setq recentf-exclude nil
      recentf-include '("\\.t\\(ex\\|xt\\)\\'" "\\`\\.emacs\\'"))

-ap





reply via email to

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