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

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

Re: req-package


From: Stefan Monnier
Subject: Re: req-package
Date: Fri, 14 Aug 2015 12:58:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>   :config recentf
>   ;; Here we configure what is related to `recentf' (plus `evil' of course).
>   ;; It's kind of `:require recentf' (in a sense that it should also
> manage dependencies as
>   ;; `:require recentf' does), but it also includes corresponding
> configuration as well.  The benefit is
>   ;; that if `recentf' is not available, then this code is simply
> disabled/ignored (similar to how
>   ;; `with-eval-after-load' functions).  This is more general and
> flexible approach then `:require'.

I think this should not try to require recentf.  IOW it should only
execute that code if/when recentf if enabled.  So you can still disable
all of recentf by commenting out the (req-package recentf).


        Stefan


reply via email to

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