]> code.delx.au - gnu-emacs/commit
Fix desktop support in todo-mode and doc-view (bug#22377)
authorStephen Berman <stephen.berman@gmx.net>
Thu, 21 Jan 2016 10:19:21 +0000 (11:19 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Thu, 21 Jan 2016 10:19:21 +0000 (11:19 +0100)
commit7bc7fd6058a28cdf7da672dc625c6d3f2e50aa1b
tree658ef7f195a8d02026c7cf7f4c269bf90602ad7d
parent871c8b1b96c1cffb84d30dddd484663a0c94818f
Fix desktop support in todo-mode and doc-view (bug#22377)

* lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
* lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.

* lisp/calendar/todo-mode.el (todo-modes-set-2):
* lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
lisp/calendar/todo-mode.el
lisp/doc-view.el