mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
; * lisp/menu-bar.el (menu-bar-showhide-menu): Small optimization.
Use 'bound-and-true-p' to check for non-nil 'outline-minor-mode'.
This commit is contained in:
parent
0155f2ae2c
commit
92ea393a16
@ -1359,8 +1359,7 @@ mail status in mode line"))
|
||||
:visible (seq-some #'local-variable-p
|
||||
'(outline-search-function
|
||||
outline-regexp outline-level))
|
||||
:button (:toggle . (and (boundp 'outline-minor-mode)
|
||||
outline-minor-mode))))
|
||||
:button (:toggle . (bound-and-true-p outline-minor-mode))))
|
||||
|
||||
(bindings--define-key menu [showhide-tab-line-mode]
|
||||
'(menu-item "Window Tab Line" global-tab-line-mode
|
||||
|
Loading…
Reference in New Issue
Block a user