all repos — nixfiles @ c53705040dbedca87e19b9286572663d71102a9c

System and user configuration, managed by nix and home-manager

Emacs: keep menu-bar-mode explicitly enabled on darwin
Alan Pearce alan@alanpearce.eu
Fri, 29 Nov 2019 23:26:15 +0100
commit

c53705040dbedca87e19b9286572663d71102a9c

parent

963ed40bd284e64969242e0c3a4ace9e9b0d403f

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -48,7 +48,7 @@ (custom-set-variables  ;; I prefer an always-visible cursor.  Feels less distracting.
  '(blink-cursor-mode nil)
  ;; Disable all the bars, unless on OSX, in which case, keep the menu bar.
- '(menu-bar-mode nil)
+ `(menu-bar-mode ,(eq system-type 'darwin))
  '(scroll-bar-mode nil)
  '(tool-bar-mode nil))
 (set-fringe-mode '(4 . 4))