[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Lisp Linter fail to identify function defined in a "use-packag
From: |
Emanuel Berg |
Subject: |
Re: Emacs Lisp Linter fail to identify function defined in a "use-package" block |
Date: |
Fri, 13 Oct 2023 04:29:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> dired [...]
The reason why it doesn't work for dired.el even tho it has
a `provide' last, stating the correct dired, is that it isn't
_quite_ last, I think.
Here are dired.el lines 5115-5119 using Emacs 30.0 [1]
(provide 'dired)
(run-hooks 'dired-load-hook) ; for your customizations
;;; dired.el ends here
This is good enough for the byte-compiler, but not good enough
for elint.
[1] GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo
version 1.16.0) of 2023-10-10 [commit
239db5d5162f6f9a4a6735e176c8d306f18e50e7]
--
underground experts united
https://dataswamp.org/~incal