summaryrefslogtreecommitdiff
path: root/lisp/view.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-12-03 14:35:38 +0000
committerEli Zaretskii <eliz@gnu.org>2005-12-03 14:35:38 +0000
commit2f33468cdc444484c081cef431405b7f6fb4d70f (patch)
tree7bb8c4bed69f38048f273ad51547ad02b922401d /lisp/view.el
parent79019cc953255795ce4a8a1bb294ed80a2ec8c17 (diff)
downloademacs-2f33468cdc444484c081cef431405b7f6fb4d70f.tar.gz
(view-mode): Doc fix.
Diffstat (limited to 'lisp/view.el')
-rw-r--r--lisp/view.el14
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/view.el b/lisp/view.el
index 4cbc0fe9e4c..ea7762cb7d1 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -439,12 +439,14 @@ p searches backward for last regular expression.
\\[View-kill-and-leave] quit View mode, kill current buffer and go back to other buffer.
The effect of \\[View-leave] , \\[View-quit] and \\[View-kill-and-leave] depends on how view-mode was entered. If it was
-entered by view-file, view-file-other-window or view-file-other-frame
-\(\\[view-file], \\[view-file-other-window], \\[view-file-other-frame] or the dired mode v command), then \\[View-quit] will
-try to kill the current buffer. If view-mode was entered from another buffer
-as is done by View-buffer, View-buffer-other-window, View-buffer-other frame,
-View-file, View-file-other-window or View-file-other-frame then \\[View-leave] , \\[View-quit] and \\[View-kill-and-leave]
-will return to that buffer.
+entered by view-file, view-file-other-window, view-file-other-frame, or
+\\[dired-view-file] \(\\[view-file], \\[view-file-other-window],
+\\[view-file-other-frame], or the Dired mode v command),
+then \\[View-quit] will try to kill the current buffer.
+If view-mode was entered from another buffer, by \\[view-buffer],
+\\[view-buffer-other-window], \\[view-buffer-other frame], \\[view-file],
+\\[view-file-other-window], or \\[view-file-other-frame],
+then \\[View-leave] , \\[View-quit] and \\[View-kill-and-leave] will return to that buffer.
Entry to view-mode runs the normal hook `view-mode-hook'."
(interactive "P")