diff options
| author | Luke Hoersten <[email protected]> | 2013-10-31 00:28:51 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2013-10-31 00:28:51 -0500 |
| commit | cfee1982a547f546b2f138978e9ce079b74390ec (patch) | |
| tree | e13c796226fbdb67c5296ba56ad85cb9f912285f | |
| parent | 90634551970286bc93c13c122fbda0e1a907476e (diff) | |
Removed bell and added menu bar on OS X.
| -rw-r--r-- | init.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,6 +42,7 @@ (setq is-mac (equal system-type 'darwin)) (when is-mac (setq-default + ring-bell-function 'ignore mac-command-modifier 'meta ns-pop-up-frames nil ispell-program-name "/usr/local/bin/aspell")) @@ -50,7 +51,7 @@ (when window-system (tool-bar-mode -1) ; remove tool bar (scroll-bar-mode -1) ; remove scroll bar - (menu-bar-mode -1) ; remove menu bar + (unless is-mac (menu-bar-mode -1)) ; remove menu bar (visual-line-mode t) ; word wrap break on whitespace (set-frame-font (if is-mac "Ubuntu Mono-12" "Ubuntu Mono-10.5"))) |
