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:
Henrik Lissner
2018-07-29 02:25:43 +02:00
parent 143fdd17e1
commit 770463aff2

View File

@ -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))))