summaryrefslogtreecommitdiff
path: root/lisp/bindings.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-06-20 13:50:25 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-06-21 14:25:40 +0200
commit9068f8f10c55ccb6a434486daa8baf2c859beb8a (patch)
tree5c8f3ec0f01fb3c3225b946c92f7946606e29471 /lisp/bindings.el
parenta4fb5811fab64b7437fa47239d5aae39ba3ed82a (diff)
downloademacs-9068f8f10c55ccb6a434486daa8baf2c859beb8a.tar.gz
emacs-9068f8f10c55ccb6a434486daa8baf2c859beb8a.tar.bz2
emacs-9068f8f10c55ccb6a434486daa8baf2c859beb8a.zip
Further fixes for bound-and-true-p doc string
* lisp/bindings.el (bound-and-true-p): Improve doc string.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r--lisp/bindings.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 4e5497cc79a..620f28970a2 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.