aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/view.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/view.el b/lisp/view.el
index 5648a016ea1..4629b4fcd6a 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -163,7 +163,7 @@ Space scrolls forward, Delete scrolls backward.
163For list of all View commands, type ? or h while viewing. 163For list of all View commands, type ? or h while viewing.
164 164
165Calls the value of view-hook if that is non-nil." 165Calls the value of view-hook if that is non-nil."
166 (interactive \"bView buffer:\\nP\") 166 (interactive "bView buffer:\nP")
167 (let ((return-to (and not-return (current-window-configuration)))) 167 (let ((return-to (and not-return (current-window-configuration))))
168 (switch-to-buffer-other-window buffer-name) 168 (switch-to-buffer-other-window buffer-name)
169 (view-mode return-to))) 169 (view-mode return-to)))