From fe9a06eebcc31f846251c4a11b04526ff0bd7e01 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 9 Nov 2014 22:17:49 -0800 Subject: [PATCH] Fix ui elimination stuff. --- init.el | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/init.el b/init.el index 929f3870..d134e02e 100644 --- a/init.el +++ b/init.el @@ -446,6 +446,9 @@ buffer is not visiting a file." (setq current-theme appropriate-theme))))) (defun remove-fringe-and-hl-line-mode (&rest stuff) + (scroll-bar-mode -1) + (tool-bar-mode -1) + (menu-bar-mode -1) (set-fringe-style '(0 . 0)) (setq hl-line-mode nil)) @@ -453,10 +456,3 @@ buffer is not visiting a file." ;; enable to set theme based on time of day. (run-at-time "00:00" 3600 'set-theme) -(message fringe-query-style) -(set-fringe-style '(0 . 0)) - -;; Get rid of any gui like features... -(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1)) -(if (fboundp 'tool-bar-mode) (tool-bar-mode -1)) -(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))