summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-11-29 23:26:15 +0100
committerAlan Pearce2019-11-30 12:03:07 +0100
commitc53705040dbedca87e19b9286572663d71102a9c (patch)
tree949ae80ddecdf3b1f7673abc812b19ca889177d7 /user/emacs
parent963ed40bd284e64969242e0c3a4ace9e9b0d403f (diff)
downloadnixfiles-c53705040dbedca87e19b9286572663d71102a9c.tar.lz
nixfiles-c53705040dbedca87e19b9286572663d71102a9c.tar.zst
nixfiles-c53705040dbedca87e19b9286572663d71102a9c.zip
Emacs: keep menu-bar-mode explicitly enabled on darwin
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 42490ff6..0f7ad424 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -48,7 +48,7 @@
  ;; 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))