]> git.eshelyaron.com Git - emacs.git/commit
Avoid problems when calling desktop-read twice
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Dec 2020 17:53:55 +0000 (18:53 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Dec 2020 17:53:55 +0000 (18:53 +0100)
commit0c330bed24ef045732a1bfe61d20ed8328dd0b28
treec420b5a53803090a4ed5f669f310e3db72be2c56
parent8b1693f689bff0ccacdd3ec8326a0860b8bc604e
Avoid problems when calling desktop-read twice

* lisp/desktop.el (desktop-read): Don't reload the desktop file if
it's already been loaded, because the later query may lead to
desktop-dirname being set to nil (bug#9765).
lisp/desktop.el