1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Further fixes for bound-and-true-p doc string

* lisp/bindings.el (bound-and-true-p): Improve doc string.
This commit is contained in:
Lars Ingebrigtsen 2021-06-20 13:50:25 +02:00
parent a4fb5811fa
commit 9068f8f10c

View File

@ -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.