Closed hongyi-zhao closed 1 year ago
Mon Aug 9 08:35:10 BST 2021
Hi,
Am I right?
Yes.
If you query the variable features
in a fresh emacs, you'll see that the first defined named feature is emacs
:
emacs -nw -Q -eval "(describe-variable 'features)"
It was first mentioned in:
src/ChangeLog.10:7732: * fns.c (syms_of_fns): Add `emacs' to features.
It's defined in:
src/fns.c:5999: Vfeatures = list1 (Qemacs);
If you query the variable
features
in a fresh emacs, you'll see that the first defined named feature isemacs
:
I checked with emacs -Q -eval "(describe-variable 'features)"
, and find that it's the last defined named feature:
And yet, use-package-lint
complains that emacs
module cannot be located.
And yet,
use-package-lint
complains thatemacs
module cannot be located.
I can't reproduce this using:
(use-package emacs)
And then M-x use-package-lint
. Could you give more details about where you're seeing this?
More information was requested, but none was provided within 23 days. I also can't reproduce the issue, so I'm closing it now. If this is still an issue, please report back and we can reopen. Thanks.
I've tried the following configuration and it really works:
So, it seems that
emacs
can be used as a dummy named feature when callinguse-package
.Am I right?
Regards, HY