Minor refactors & comment revision
This commit is contained in:
parent
e4c4e3f48c
commit
ce65645fb8
5 changed files with 43 additions and 42 deletions
|
@ -31,9 +31,9 @@
|
|||
|
||||
;; HACK On MacOS, disabling the menu bar makes MacOS treat Emacs as a
|
||||
;; non-application window -- which means it doesn't automatically capture
|
||||
;; focus when it is started, among other things. We enable menu-bar-lines
|
||||
;; there, but we still want it disabled in terminal frames because there it
|
||||
;; activates an ugly menu bar.
|
||||
;; focus when it is started, among other things, so enable the menu-bar for
|
||||
;; GUI frames, but keep it disabled in terminal frames because there it
|
||||
;; activates an ugly, in-frame menu bar.
|
||||
(add-hook! '(window-setup-hook after-make-frame-functions)
|
||||
(defun doom-init-menu-bar-in-gui-frames-h (&optional frame)
|
||||
"Re-enable menu-bar-lines in GUI frames."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue