Permalink
Browse files

Turn off toolbar even when in daemon-mode.

Thanks to jmhodges for the report.
  • Loading branch information...
1 parent b418209 commit 9e78e16fd8366453259386da577b625b02613a9d @technomancy committed Jul 30, 2009
Showing with 5 additions and 1 deletion.
  1. +3 −0 starter-kit-defuns.el
  2. +2 −1 starter-kit-misc.el
View
@@ -86,6 +86,9 @@ Symbols matching the text at point are put first in the completion list."
(defun turn-on-whitespace ()
(whitespace-mode t))
+(defun turn-off-tool-bar ()
+ (tool-bar-mode -1))
+
(add-hook 'coding-hook 'local-column-number-mode)
(add-hook 'coding-hook 'local-comment-auto-fill)
(add-hook 'coding-hook 'turn-on-hl-line-mode)
View
@@ -5,9 +5,10 @@
(when window-system
(setq frame-title-format '(buffer-file-name "%f" ("%b")))
(tooltip-mode -1)
- (tool-bar-mode -1)
(blink-cursor-mode -1))
+(add-hook 'before-make-frame-hook 'turn-off-tool-bar)
+
(mouse-wheel-mode t)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)

0 comments on commit 9e78e16

Please sign in to comment.