Hide mode-line in completion buffers
This commit is contained in:
parent
74c47d560b
commit
75265be961
1 changed files with 8 additions and 4 deletions
|
@ -77,11 +77,15 @@
|
||||||
;; y/n instead of yes/no
|
;; y/n instead of yes/no
|
||||||
(fset 'yes-or-no-p 'y-or-n-p)
|
(fset 'yes-or-no-p 'y-or-n-p)
|
||||||
|
|
||||||
;; mode-line is unimportant in help/compile windows
|
;; mode-line is unimportant in help/compile/completion candidate windows
|
||||||
(add-hook 'help-mode-hook 'doom-hide-mode-line-mode)
|
|
||||||
(add-hook 'compilation-mode-hook 'doom-hide-mode-line-mode)
|
|
||||||
(add-hook 'messages-buffer-mode-hook 'doom-hide-mode-line-mode)
|
|
||||||
(with-current-buffer "*Messages*" (doom-hide-mode-line-mode +1))
|
(with-current-buffer "*Messages*" (doom-hide-mode-line-mode +1))
|
||||||
|
(add-hook! (help-mode
|
||||||
|
compilation-mode
|
||||||
|
messages-buffer-mode
|
||||||
|
completion-setup
|
||||||
|
completion-in-region-mode
|
||||||
|
completion-list-mode)
|
||||||
|
'doom-hide-mode-line-mode)
|
||||||
|
|
||||||
;; Eldoc is enabled globally on Emacs 25. No thank you, I'll do it myself.
|
;; Eldoc is enabled globally on Emacs 25. No thank you, I'll do it myself.
|
||||||
(when (bound-and-true-p global-eldoc-mode)
|
(when (bound-and-true-p global-eldoc-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue