help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

desktop-save: DESKTOP-BUFFER-POINT for current buffer always becomdes 1


From: Bauke Jan Douma
Subject: desktop-save: DESKTOP-BUFFER-POINT for current buffer always becomdes 1
Date: Fri, 08 Jun 2007 08:03:36 +0200
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

OK, this has been irritiating me or some time: I have desktop-save-mode t
but always find that when I restart emacs, the previous session's current
buffer (at exit) always gets its DESKTOP-BUFFER-POINT set to 1.

Yesterday tried to correct that, but I cannot get it to work correctly.
The desktop file, ~/.emacs.desktop ad far as I can tell is perfectly
correct, it's just that it has 1 for DESKTOP-BUFFER-POINT for the current
buffer.

Here's what I'm doing, at the very end of ~/.emacs:

(require 'desktop)
(setq desktop-save t)
(setq desktop-save-mode t)
(setq history-length t)
(add-to-list 'desktop-globals-to-save '(minibuffer-history command-history 
file-name-history extended-command-history))
(setq desktop-save-mode t)
(desktop-read)

Any thoughts?
Thanks.


bjd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]