Removed bell and added menu bar on OS X.
authorLuke Hoersten <Luke@Hoersten.org>
Thu, 31 Oct 2013 00:28:51 -0500
changeset 66 b6182e0be08d
parent 65 839e0a541c76
child 67 6034a5ace9af
Removed bell and added menu bar on OS X.
init.el
--- a/init.el	Wed Oct 30 21:21:09 2013 -0500
+++ b/init.el	Thu Oct 31 00:28:51 2013 -0500
@@ -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")))