emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 80d868e: * lisp/emacs-lisp/inline.el: Clarify app


From: Stefan Monnier
Subject: [Emacs-diffs] emacs-26 80d868e: * lisp/emacs-lisp/inline.el: Clarify apparent typos
Date: Wed, 4 Apr 2018 21:15:42 -0400 (EDT)

branch: emacs-26
commit 80d868ed1cf3fb1bf62c9b53e65d1034f20be227
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/emacs-lisp/inline.el: Clarify apparent typos
---
 lisp/emacs-lisp/inline.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/emacs-lisp/inline.el b/lisp/emacs-lisp/inline.el
index 02f9bf2..865e17e 100644
--- a/lisp/emacs-lisp/inline.el
+++ b/lisp/emacs-lisp/inline.el
@@ -91,9 +91,13 @@
 
 (defmacro inline--leteval (_var-exp &rest _body)
   (declare (indent 1) (debug (sexp &rest body)))
+  ;; BEWARE: if we're here it's presumably via macro-expansion of
+  ;; inline-letevals, so signal the error in terms of the user's code.
   (error "inline-letevals can only be used within define-inline"))
 (defmacro inline--letlisteval (_list &rest _body)
   (declare (indent 1) (debug (sexp &rest body)))
+  ;; BEWARE: if we're here it's presumably via macro-expansion of
+  ;; inline-letevals, so signal the error in terms of the user's code.
   (error "inline-letevals can only be used within define-inline"))
 
 (defmacro inline-letevals (vars &rest body)



reply via email to

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