Timeline for init-open-recentf with use-package
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 1, 2021 at 9:30 | vote | accept | buhtz | ||
Nov 1, 2021 at 9:09 | comment | added | Swarnendu Biswas |
Note that init-open-recentf loads recentf because of the (require 'recentf) line in the init-open-recentf.el code, and not because of the :after recentf .
|
|
S Nov 1, 2021 at 9:08 | history | suggested | buhtz | CC BY-SA 4.0 |
code typo indention
|
Nov 1, 2021 at 9:06 | comment | added | Swarnendu Biswas |
Yes, not deferring and using (recentf-mode 1) in the :config section should also work. I like hooks because they allow you to explicitly control when you want to do things.
|
|
Nov 1, 2021 at 8:51 | comment | added | buhtz |
Why not using :defer nil instead of that hook? IMHO this means "load imidiatly" or doesn't it?
|
|
Nov 1, 2021 at 8:48 | review | Suggested edits | |||
S Nov 1, 2021 at 9:08 | |||||
Nov 1, 2021 at 8:41 | comment | added | buhtz |
My snippet does work. Maybe my direct (init-open-recentf) does invoke loading of init-open-recentf package which itself loads recentf because of after: recentf directive. But thanks. Your hook is a more use-package like way what I also asked for.
|
|
Nov 1, 2021 at 2:47 | history | answered | Swarnendu Biswas | CC BY-SA 4.0 |