[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] externals/jarchive 2eb44fdf37: Add info to README about ELPA
From: |
Stefan Monnier |
Subject: |
Re: [elpa] externals/jarchive 2eb44fdf37: Add info to README about ELPA |
Date: |
Sun, 13 Nov 2022 17:39:07 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>
> ``` emacs-lisp
> (require 'jarchive)
BTW, this was not changed in the above commit, but `require` should
basically never be needed in a user's init file.
And indeed if we look at the above sample in its entirety:
``` emacs-lisp
(require 'jarchive)
(with-eval-after-load "init"
(jarchive-setup))
```
we see that `require` is not needed since `jarchive-setup`
is autoloaded.
I also fail to see why you need to wrap it in `(with-eval-after-load
"init" ...)`, especially since that will fail for the users who don't have an
`init.el` (those who use `early-init.el` or `~/.emacs` instead).
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [elpa] externals/jarchive 2eb44fdf37: Add info to README about ELPA,
Stefan Monnier <=