branch: elpa/macrostep
commit 4b382cd9e5626017d1609e1b23100f066617336e
Author: joddie <[email protected]>
Commit: joddie <[email protected]>
Identify Elisp compiler-macros more selectively
---
macrostep.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/macrostep.el b/macrostep.el
index 289442e..3fcb33f 100644
--- a/macrostep.el
+++ b/macrostep.el
@@ -875,7 +875,9 @@ Emacs's builtin `macroexpand' function and calling
macro-form-alist)))
((and (consp form)
(symbolp (car form))
- (get (car form) 'compiler-macro))
+ macrostep-expand-compiler-macros
+ (not (eq form
+ (cl-compiler-macroexpand form))))
(setq compiler-macro-forms
(cons form compiler-macro-forms))))
expansion))))