|
From: | AlFire |
Subject: | Re: desktop-read issue on XP - emacs 23.2 or 3 |
Date: | Thu, 11 Sep 2008 19:45:10 -0700 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080724) |
Nick Sandow wrote:
I think in Emacs 22 and later the way to activate `desktop' has changed. I think you just need: (desktop-save-mode 1) in your .emacs nowadays.Is it possible you are using an older config? Perhaps a read of the info page on desktop would solve ye problem.
that was it. I replaced: (setq desktop-enable t) (desktop-load-default) (desktop-read) (defun desktop-auto-save () "Added to auto-save-hook so the desktop is not lost." (desktop-save "~/") (message "Wrote desktop.") ) (add-hook 'auto-save-hook 'desktop-auto-save t) by: (desktop-save-mode 1)and all works. And just for the record - the versions in subject I put are wrong - it supposed to be 22.2.1 and 23.0.60.1.
thx, Andy
[Prev in Thread] | Current Thread | [Next in Thread] |