diff options
author | Alan Pearce | 2023-03-14 21:30:04 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-14 21:30:04 +0100 |
commit | 1804e5807da1a6aa39dd71e6938edc6fd5828a77 (patch) | |
tree | 046a2aaee6925639c7b0e2df79ecfba10c2d5d74 /user | |
parent | 69dba9ad76730fa435a797e1586231c78d189d54 (diff) | |
download | nixfiles-1804e5807da1a6aa39dd71e6938edc6fd5828a77.tar.lz nixfiles-1804e5807da1a6aa39dd71e6938edc6fd5828a77.tar.zst nixfiles-1804e5807da1a6aa39dd71e6938edc6fd5828a77.zip |
emacs: hide menu-bar in darwin terminals
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/early-init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user/emacs/early-init.el b/user/emacs/early-init.el index 22c5161c..e6ede93d 100644 --- a/user/emacs/early-init.el +++ b/user/emacs/early-init.el @@ -4,8 +4,8 @@ package-quickstart t frame-inhibit-implied-resize t) -;; Disable all the bars, unless on OSX, in which case, keep the menu bar. -(unless (eq system-type 'darwin) +;; Disable all the bars, unless on macOS, in which case, keep the menu bar. +(unless (eq window-system 'ns) (menu-bar-mode -1)) (scroll-bar-mode -1) (tool-bar-mode -1) |