From 770463aff2547fc91d3747d5512cd0a254373ab0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 29 Jul 2018 02:25:43 +0200 Subject: [PATCH] Don't copy macro autodefs into autoloads verbatim This makes it necessary to reload the autoloads anytime a macro is modified at all. --- core/core-cli.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/core-cli.el b/core/core-cli.el index d6eb85cb2..6c0666317 100644 --- a/core/core-cli.el +++ b/core/core-cli.el @@ -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))))