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

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

[nongnu] elpa/macrostep 6c8ae5b 098/110: Remove call to `define-error` f


From: ELPA Syncer
Subject: [nongnu] elpa/macrostep 6c8ae5b 098/110: Remove call to `define-error` for Emacs <24.4
Date: Sat, 7 Aug 2021 09:18:10 -0400 (EDT)

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

    Remove call to `define-error` for Emacs <24.4
---
 macrostep.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/macrostep.el b/macrostep.el
index 85550e0..1c2a194 100644
--- a/macrostep.el
+++ b/macrostep.el
@@ -831,8 +831,8 @@ expansion until a non-macro-call results."
            (error "Form left unchanged by compiler macro")
          expansion)))))
 
-(define-error 'macrostep-grab-environment-failed
-    "Extracting the macro environment at point failed.")
+(put 'macrostep-grab-environment-failed 'error-conditions
+     '(macrostep-grab-environment-failed error))
 
 (defun macrostep-environment-at-point ()
   "Return the local macro-expansion environment at point, if any.



reply via email to

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