fix(popup): don't disable hide-mode-line if enabled globally
Ref: hlissner/emacs-hide-mode-line#11
This commit is contained in:
parent
1c16b84691
commit
d1c2c8c35b
1 changed files with 2 additions and 1 deletions
|
@ -297,7 +297,8 @@ Any non-nil value besides the above will be used as the raw value for
|
||||||
(defun +popup-unset-modeline-on-disable-h ()
|
(defun +popup-unset-modeline-on-disable-h ()
|
||||||
"Restore the modeline when `+popup-buffer-mode' is deactivated."
|
"Restore the modeline when `+popup-buffer-mode' is deactivated."
|
||||||
(when (and (not (bound-and-true-p +popup-buffer-mode))
|
(when (and (not (bound-and-true-p +popup-buffer-mode))
|
||||||
(bound-and-true-p hide-mode-line-mode))
|
(bound-and-true-p hide-mode-line-mode)
|
||||||
|
(not (bound-and-true-p global-hide-mode-line-mode)))
|
||||||
(hide-mode-line-mode -1)))
|
(hide-mode-line-mode -1)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue