From fe769826828a2ec68f1ab7a47647310390c210d2 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 28 Jun 2015 23:59:30 -0400 Subject: [PATCH] remove desktop-save-mode, only set tool-bar-mode when graphical --- .emacs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.emacs b/.emacs index e6ba525..6b173d7 100644 --- a/.emacs +++ b/.emacs @@ -12,10 +12,10 @@ inhibit-startup-screen t vc-follow-symlinks t) (load-theme 'fred t) -(desktop-save-mode 1) (savehist-mode 1) -(tool-bar-mode -1) (show-paren-mode 1) +(when (display-graphic-p) + (tool-bar-mode -1)) ;; Keybinds (global-set-key (kbd "C-z") `recompile)