mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-16 09:50:25 +00:00
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
This commit is contained in:
parent
1728544615
commit
e391d88705
@ -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 <monnier@iro.umontreal.ca>
|
||||
|
||||
* emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
|
||||
|
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user