remove desktop-save-mode, only set tool-bar-mode when graphical

This commit is contained in:
Adam Goldsmith 2015-06-28 23:59:30 -04:00
parent d592a6f639
commit fe76982682

4
.emacs
View File

@ -12,10 +12,10 @@
inhibit-startup-screen t inhibit-startup-screen t
vc-follow-symlinks t) vc-follow-symlinks t)
(load-theme 'fred t) (load-theme 'fred t)
(desktop-save-mode 1)
(savehist-mode 1) (savehist-mode 1)
(tool-bar-mode -1)
(show-paren-mode 1) (show-paren-mode 1)
(when (display-graphic-p)
(tool-bar-mode -1))
;; Keybinds ;; Keybinds
(global-set-key (kbd "C-z") `recompile) (global-set-key (kbd "C-z") `recompile)