src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2009-09-03 19:14:09 -0500
committerLuke Hoersten <[email protected]>2009-09-03 19:14:09 -0500
commit37e5dc3ca1e6602ed2b2262b73140dead1dc87c6 (patch)
treeb8ad767c487a8a44456e9bd5d77dbe123542a69b
parent45c806b41a78d2d592f5d4e3883a5b4f75d93544 (diff)
Cleanups
-rw-r--r--emacs.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/emacs.el b/emacs.el
index 39ffbaf..211668e 100644
--- a/emacs.el
+++ b/emacs.el
@@ -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))