diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-06-20 13:50:25 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-06-21 14:25:40 +0200 |
commit | 9068f8f10c55ccb6a434486daa8baf2c859beb8a (patch) | |
tree | 5c8f3ec0f01fb3c3225b946c92f7946606e29471 /lisp/bindings.el | |
parent | a4fb5811fab64b7437fa47239d5aae39ba3ed82a (diff) | |
download | emacs-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.el | 4 |
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. |