summaryrefslogtreecommitdiff
path: root/lisp/view.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-08-24 13:38:46 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-08-24 13:38:46 -0400
commit1ed43b0999487094d4082e431947d48bd8feb2bb (patch)
treedb9433372dd45400d202b37179940cb5a7e04575 /lisp/view.el
parent8610fe8b84e22f5d962f5e480001748a6687a3b2 (diff)
downloademacs-1ed43b0999487094d4082e431947d48bd8feb2bb.tar.gz
Rename quit-restore-window into quit-window.
* lisp/window.el (quit-window): Renamed from quit-restore-window. Use same arglist as old quit-window. (frame-auto-delete): Doc fix. * lisp/view.el (view-mode-exit): Use quit-window.
Diffstat (limited to 'lisp/view.el')
-rw-r--r--lisp/view.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/view.el b/lisp/view.el
index 21479a70a72..be011d217fc 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))