]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/inline.el (inline-const-val): Improve docstring
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Jan 2024 18:14:32 +0000 (13:14 -0500)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Jan 2024 20:16:12 +0000 (21:16 +0100)
(cherry picked from commit 3afbab2f1d6ce7d75cadf12af096314123b6d56f)

lisp/emacs-lisp/inline.el

index c774296084e1fffa82126bddbe303733d631354c..ddbd6fdc017362d91489dfa659891eb7314cc045 100644 (file)
@@ -80,7 +80,9 @@
   (error "inline-const-p can only be used within define-inline"))
 
 (defmacro inline-const-val (_exp)
-  "Return the value of EXP."
+  "Return the value of EXP.
+During inlining, if the value of EXP is not yet known, this aborts the
+inlining and makes us revert to a non-inlined function call."
   (declare (debug t))
   (error "inline-const-val can only be used within define-inline"))