mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -490,9 +490,6 @@ even if it doesn't need reloading!"
|
||||
(message "Ignoring autodef %s (%s)"
|
||||
name e)
|
||||
nil)))
|
||||
((memq type '(defmacro cl-defmacro))
|
||||
(push doom-file-form forms)
|
||||
sexp)
|
||||
((make-autoload sexp (abbreviate-file-name (file-name-sans-extension path)))))
|
||||
forms)
|
||||
(push `(put ',name 'doom-module ',origin) forms))))
|
||||
|
Reference in New Issue
Block a user