diff options
Diffstat (limited to 'lisp/view.el')
-rw-r--r-- | lisp/view.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/view.el b/lisp/view.el index 21479a70a7..be011d217f 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -576,9 +576,9 @@ current buffer. " (cond ((or all-windows view-exits-all-viewing-windows) (dolist (window (get-buffer-window-list)) - (quit-restore-window window))) + (quit-window nil window))) ((eq (window-buffer) (current-buffer)) - (quit-restore-window))) + (quit-window))) (when exit-action (funcall exit-action buffer)) |