Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Turn off toolbar even when in daemon-mode.
Browse files Browse the repository at this point in the history
Thanks to jmhodges for the report.
  • Loading branch information
technomancy committed Jul 30, 2009
1 parent b418209 commit 9e78e16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions starter-kit-defuns.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion starter-kit-misc.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9e78e16

Please sign in to comment.