diff options
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 10 |
1 files changed, 8 insertions, 2 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) |