emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/macrostep c748996 057/110: Tweak macrostep-slime-macro-for


From: ELPA Syncer
Subject: [nongnu] elpa/macrostep c748996 057/110: Tweak macrostep-slime-macro-form-p
Date: Sat, 7 Aug 2021 09:18:02 -0400 (EDT)

branch: elpa/macrostep
commit c748996382f063332dea7977fb2ef27e186715d2
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>

    Tweak macrostep-slime-macro-form-p
    
    Avoid errors on lists with a non-symbol car
---
 macrostep.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/macrostep.el b/macrostep.el
index 391ec56..3816eb1 100644
--- a/macrostep.el
+++ b/macrostep.el
@@ -958,7 +958,8 @@ expansion will not be fontified.  See also
       (cl:let ((sexp (cl:read-from-string ,form))
                (expand-compiler-macros ,macrostep-expand-compiler-macros))
         (cl:cond
-          ((cl:not (cl:consp sexp))
+          ((cl:or (cl:not (cl:consp sexp))
+                  (cl:not (cl:symbolp (cl:car sexp))))
            nil)
           ((cl:eq (cl:car sexp) 'cl:lambda)
            nil)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]