[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e391d88 5/6: Do not clear the session when trying t
From: |
Ivan Shmakov |
Subject: |
[Emacs-diffs] master e391d88 5/6: Do not clear the session when trying to read a non-existent desktop file. |
Date: |
Sat, 17 Jan 2015 20:04:27 +0000 |
branch: master
commit e391d88705efd3897996ed81e1f37b936dc3aa21
Author: Ivan Shmakov <address@hidden>
Commit: Ivan Shmakov <address@hidden>
Do not clear the session when trying to read a non-existent desktop file.
* lisp/desktop.el (desktop-read): Do not call desktop-clear when no
desktop file is found.
Fixes: debbugs:18371
---
lisp/ChangeLog | 3 +++
lisp/desktop.el | 1 -
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d894b1f..60732e7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -14,6 +14,9 @@
inhibit-point-motion-hooks in addition to inhibit-read-only.
(Bug#18246)
+ * desktop.el (desktop-read): Do not call desktop-clear when no
+ desktop file is found. (Bug#18371)
+
2015-01-17 Stefan Monnier <address@hidden>
* emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 3845f94..c355d7f 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -1191,7 +1191,6 @@ Using it may cause conflicts. Use it anyway? " owner)))))
(desktop-auto-save-enable)
t))
;; No desktop file found.
- (desktop-clear)
(let ((default-directory desktop-dirname))
(run-hooks 'desktop-no-desktop-file-hook))
(message "No desktop file.")
- [Emacs-diffs] master updated (ca80ebc -> 0aaa5d6), Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master e000ff3 3/6: Fix dir-locals handling for non-file buffers., Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master 3e824b0 2/6: Avoid mapcar in two cases in files.el., Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master 22441b6 1/6: Ignore print-length and print-level while formatting url-cookie data., Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master e391d88 5/6: Do not clear the session when trying to read a non-existent desktop file.,
Ivan Shmakov <=
- [Emacs-diffs] master 1728544 4/6: Fix: inhibit point motion hooks when encoding an enriched document., Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master 0aaa5d6 6/6: Unloading support for misearch., Ivan Shmakov, 2015/01/17