emacs-diffs
[Top][All Lists]
Advanced

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

master 9068f8f 1/2: Further fixes for bound-and-true-p doc string


From: Lars Ingebrigtsen
Subject: master 9068f8f 1/2: Further fixes for bound-and-true-p doc string
Date: Mon, 21 Jun 2021 08:35:57 -0400 (EDT)

branch: master
commit 9068f8f10c55ccb6a434486daa8baf2c859beb8a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Further fixes for bound-and-true-p doc string
    
    * lisp/bindings.el (bound-and-true-p): Improve doc string.
---
 lisp/bindings.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/bindings.el b/lisp/bindings.el
index 4e5497c..620f289 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -611,8 +611,8 @@ Switch to the most recently selected buffer other than the 
current one."
 
 (defmacro bound-and-true-p (var)
   "Return the value of symbol VAR if it is bound, else nil.
-Note that if `lexical-binding' is in effect, this refers to the
-global value outside of any lexical scope."
+Note that if `lexical-binding' is in effect, this function isn't
+meaningful if it refers to a lexically bound variable."
   `(and (boundp (quote ,var)) ,var))
 
 ;; Use mode-line-mode-menu for local minor-modes only.



reply via email to

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