[Top][All Lists]

[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 12:23:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Consider my previous one:
> (use-package recentf
>   :defer
>   :commands
>   (recentf-mode)
>   :config
>   (with-eval-after-load 'evil
>     (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)))

Can you explain what' are the issues here?

I guess one issue is with

   (evil-make-overriding-map recentf-dialog-mode-map 'motion)

since this can only be used after both recentf and evil are loaded.
But I don't see where use-package req-package helps you with this
problem (which you instead solve with with-eval-after-load, IIUC).

Can you clarify?


reply via email to

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