Permalink
Browse files

toolbar and menu bar off, auto-scroll compile window

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
1 parent 7a5d0dc commit 2bf791078611d69417e0374ce4332c6483c7a899 @hxw committed Jul 13, 2012
Showing with 10 additions and 2 deletions.
  1. +10 −2 init.el
View
@@ -30,14 +30,13 @@
(defun my-lines ()
"compute screen lines"
- (/ (- (display-pixel-height) 150) (frame-char-height)))
+ (/ (- (display-pixel-height) 50) (frame-char-height)))
(defun my-columns ()
"compute screen columns"
(/ (- (display-pixel-width) 50) (frame-char-width)))
-
;; fonts
;; -----
@@ -201,6 +200,12 @@
)
+;; menubar/toolbar
+;; ---------------
+
+(tool-bar-mode 0)
+(menu-bar-mode 0)
+
;; adjust window size
;; ------------------
@@ -302,6 +307,9 @@
(setq split-height-threshold nil)
(setq split-width-threshold 0)
+;; on compile scroll the split window
+(setq compilation-scroll-output t)
+
;; tabbar
;; ------

0 comments on commit 2bf7910

Please sign in to comment.