Don't copy macro autodefs into autoloads verbatim
This makes it necessary to reload the autoloads anytime a macro is modified at all.
This commit is contained in:
parent
143fdd17e1
commit
770463aff2
1 changed files with 0 additions and 3 deletions
|
@ -490,9 +490,6 @@ even if it doesn't need reloading!"
|
||||||
(message "Ignoring autodef %s (%s)"
|
(message "Ignoring autodef %s (%s)"
|
||||||
name e)
|
name e)
|
||||||
nil)))
|
nil)))
|
||||||
((memq type '(defmacro cl-defmacro))
|
|
||||||
(push doom-file-form forms)
|
|
||||||
sexp)
|
|
||||||
((make-autoload sexp (abbreviate-file-name (file-name-sans-extension path)))))
|
((make-autoload sexp (abbreviate-file-name (file-name-sans-extension path)))))
|
||||||
forms)
|
forms)
|
||||||
(push `(put ',name 'doom-module ',origin) forms))))
|
(push `(put ',name 'doom-module ',origin) forms))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue