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

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

Re: recentf-mode works 'by hand' but not if started from .emacs


From: Greg Bognar
Subject: Re: recentf-mode works 'by hand' but not if started from .emacs
Date: Mon, 15 Jan 2007 02:38:36 -0500
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))

On Fri, 12 Jan 2007 07:14:36 -0800, roland.rau wrote:

> Dear all,
> 
> I wanted to enable the recentf-mode in GNU Emacs. If I do
> M-x recentf-mode
> it works fine.
> If I write down
> (recentf-mode t)
> in a Lisp Interaction Bufffer and 'C-x,C-e' it, it also works.
> 
> If I put, however, the same code at the end of my .emacs file
> (recentf-mode t)
> I get an error (without it, I have no errors during startup).
> 
> Can somebody tell me what I did wrong? Thanks,

I have this:

(recentf-mode 1)
(setq recentf-save-file "~/.Emacs/.recentfiles"
      recentf-max-menu-items 18
      recentf-menu-filter 'recentf-show-basenames-ascending)
(load recentf-save-file)

... and it works perfectly.



reply via email to

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