emacs: hide menu-bar in darwin terminals
Alan Pearce alan@alanpearce.eu
Tue, 14 Mar 2023 21:30:04 +0100
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M user/emacs/early-init.el → user/emacs/early-init.el
@@ -4,8 +4,8 @@ initial-major-mode 'fundamental-mode 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)