emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master ed29d9f: Add edebug specs for inline.el


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master ed29d9f: Add edebug specs for inline.el
Date: Sat, 13 Jul 2019 12:07:24 -0400 (EDT)

branch: master
commit ed29d9fe5286ab6ecfb2bfa5a015b9945a84512b
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Add edebug specs for inline.el
    
    * lisp/emacs-lisp/inline.el (inline-quote)
    (inline-letevals): Add edebug specs (bug#31051).
---
 lisp/emacs-lisp/inline.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/emacs-lisp/inline.el b/lisp/emacs-lisp/inline.el
index 70dbff2..6600289 100644
--- a/lisp/emacs-lisp/inline.el
+++ b/lisp/emacs-lisp/inline.el
@@ -69,6 +69,7 @@
 
 (require 'macroexp)
 
+(def-edebug-spec inline-quote (backquote-form))
 (defmacro inline-quote (_exp)
   "Similar to backquote, but quotes code and only accepts , and not ,@."
   (declare (debug t))
@@ -100,6 +101,7 @@
   ;; inline-letevals, so signal the error in terms of the user's code.
   (error "inline-letevals can only be used within define-inline"))
 
+(def-edebug-spec inline-letevals '(sexp body))
 (defmacro inline-letevals (vars &rest body)
   "Make sure the expressions in VARS are evaluated.
 VARS should be a list of elements of the form (VAR EXP) or just VAR, in case



reply via email to

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