aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el10
-rw-r--r--.emacs.d/rul-init.d/tabbar.el3
2 files changed, 8 insertions, 5 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 5d0996e..76d33ed 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -67,9 +67,8 @@
;; Initialize environment
;; ------
-
(setenv "TMPDIR" (concat (getenv "HOME") "/tmp"))
-(server-start)
+(add-hook 'after-init-hook #'server-start)
;; ------
;; Helper for compilation.
@@ -133,6 +132,13 @@
;; Remember and restore cursor information
(save-place-mode 1)
+;; Desktop
+
+;; Save the desktop session
+(setq desktop-path `(,user-emacs-directory))
+(setq desktop-base-file-name "desktop")
+(desktop-save-mode 1)
+
;; Set this to t if you don't understand what it means
(setq vc-follow-symlinks nil)
diff --git a/.emacs.d/rul-init.d/tabbar.el b/.emacs.d/rul-init.d/tabbar.el
index a492e85..3025828 100644
--- a/.emacs.d/rul-init.d/tabbar.el
+++ b/.emacs.d/rul-init.d/tabbar.el
@@ -20,6 +20,3 @@
;; Turn on tab bar mode after startup
(tab-bar-mode 1)
-
-;; Save the desktop session
-(desktop-save-mode 1)
nihil fit ex nihilo