1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08: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) (defmacro bound-and-true-p (var)
"Return the value of symbol VAR if it is bound, else nil. "Return the value of symbol VAR if it is bound, else nil.
Note that if `lexical-binding' is in effect, this refers to the Note that if `lexical-binding' is in effect, this function isn't
global value outside of any lexical scope." meaningful if it refers to a lexically bound variable."
`(and (boundp (quote ,var)) ,var)) `(and (boundp (quote ,var)) ,var))
;; Use mode-line-mode-menu for local minor-modes only. ;; Use mode-line-mode-menu for local minor-modes only.