Cleanups
authorLuke Hoersten <Luke@Hoersten.org>
Thu, 03 Sep 2009 19:14:09 -0500
changeset 11 b2593783458d
parent 10 eb4d42b61a62
child 12 272dd4613dd9
Cleanups
emacs.el
--- a/emacs.el	Thu Sep 03 18:57:10 2009 -0500
+++ b/emacs.el	Thu Sep 03 19:14:09 2009 -0500
@@ -11,6 +11,7 @@
 (put 'set-goal-column 'disabled nil)                                  ; enable goal column setting
 (put 'narrow-to-region 'disabled nil)                                 ; enable hiding
 
+(menu-bar-mode nil)                                                   ; remove menu bar in no-x mode
 (display-time-mode t)                                                 ; show clock
 (column-number-mode t)                                                ; show column numbers
 (delete-selection-mode t)                                             ; replace highlighted text
@@ -83,9 +84,7 @@
                auto-mode-alist))
 
 ;; x stuff
-(if (not window-system)
-    nil
-  (menu-bar-mode nil)   ; remove menu bar in no-x mode
+(if (not window-system) nil
   (tool-bar-mode nil)   ; remove tool bar
   (scroll-bar-mode nil) ; remove scroll bar
   (visual-line-mode t)  ; word wrap break on whitespace
@@ -95,4 +94,4 @@
   (require 'color-theme)
   (load "color-theme-twilight")
   (color-theme-twilight)
-  (global-hl-line-mode t))
\ No newline at end of file
+  (global-hl-line-mode t))