Home > development, emacs, IT, Uncategorized > GNU/Emacs: Desktop Save with “Lazy Loading”

GNU/Emacs: Desktop Save with “Lazy Loading”

2012/03/27

When using desktop-save-mode (
http://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Emacs-Sessions.html)

using desktop-restore-eager is a must:

(custom-set-variables
‘(desktop-save-mode t)
‘(desktop-restore-eager 5)
)

desktop-save-mode will load your last session. Setting desktop-restore-eager to 5 will only try to load and render the last 5 buffers while loading your saved buffers.

Advertisements
%d bloggers like this: