Skip to content

Emacs Desktop

Emacs can save the current session. Just add the following lines to your initialization file.

;; remote-connection
(setq tramp-default-method “plink”)
;; for remembering the last session
(require ‘desktop)
;; (desktop-load-default)
(desktop-save-mode 1)
(desktop-read)
(setq desktop-buffers-not-to-save “^$”)
(setq desktop-files-not-to-save “^$”)

Published inTools

Be First to Comment

Leave a Reply