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: Thu, 13 Aug 2015 17:22:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Here is how it will be rewritten with req-package
>
> (req-package recentf)
>
> (req-package evil
>   :require recentf
>   :config (progn  (evil-make-overriding-map recentf-dialog-mode-map 'motion)
>                   (evil-set-initial-state 'recentf-dialog-mode 'motion)
>                   (evil-ex-define-cmd "rfm[enu]" #'recentf-open-files)))

But wouldn't that misbehave if you decide to stop using recentf (in
which case you'd want to just comment out your (req-package recentf)
without having to tweak the `evil' part).


        Stefan


reply via email to

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