changeset 72824:ca6fbba4d933

Add comment.
author Lars Hansen <larsh@soem.dk>
date Tue, 12 Sep 2006 07:13:17 +0000
parents 38d1af495052
children 8d0950f36b30
files lisp/desktop.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/desktop.el	Tue Sep 12 01:43:17 2006 +0000
+++ b/lisp/desktop.el	Tue Sep 12 07:13:17 2006 +0000
@@ -863,7 +863,8 @@
       (let ((desktop-first-buffer nil)
             (desktop-buffer-ok-count 0)
             (desktop-buffer-fail-count 0)
-	    desktop-save)
+            ;; Avoid desktop saving during evaluation of desktop buffer.
+	    (desktop-save nil))
 	(desktop-lazy-abort)
         ;; Evaluate desktop buffer.
         (load (desktop-full-file-name) t t t)