Mercurial > emacs
comparison lisp/view.el @ 67287:0c604484909d
(view-mode): Doc fix.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 03 Dec 2005 14:35:04 +0000 |
parents | 78e1225a40a2 |
children | 3bd95f4f2941 7beb78bc1f8e |
comparison
equal
deleted
inserted
replaced
67286:3cefc8c25f95 | 67287:0c604484909d |
---|---|
437 \\[View-quit-all] quit View mode, restoring all windows to previous state. | 437 \\[View-quit-all] quit View mode, restoring all windows to previous state. |
438 \\[View-leave] quit View mode and maybe switch buffers, but don't kill this buffer. | 438 \\[View-leave] quit View mode and maybe switch buffers, but don't kill this buffer. |
439 \\[View-kill-and-leave] quit View mode, kill current buffer and go back to other buffer. | 439 \\[View-kill-and-leave] quit View mode, kill current buffer and go back to other buffer. |
440 | 440 |
441 The effect of \\[View-leave] , \\[View-quit] and \\[View-kill-and-leave] depends on how view-mode was entered. If it was | 441 The effect of \\[View-leave] , \\[View-quit] and \\[View-kill-and-leave] depends on how view-mode was entered. If it was |
442 entered by view-file, view-file-other-window or view-file-other-frame | 442 entered by view-file, view-file-other-window, view-file-other-frame, or |
443 \(\\[view-file], \\[view-file-other-window], \\[view-file-other-frame] or the dired mode v command), then \\[View-quit] will | 443 \\[dired-view-file] \(\\[view-file], \\[view-file-other-window], |
444 try to kill the current buffer. If view-mode was entered from another buffer | 444 \\[view-file-other-frame], or the Dired mode v command), |
445 as is done by View-buffer, View-buffer-other-window, View-buffer-other frame, | 445 then \\[View-quit] will try to kill the current buffer. |
446 View-file, View-file-other-window or View-file-other-frame then \\[View-leave] , \\[View-quit] and \\[View-kill-and-leave] | 446 If view-mode was entered from another buffer, by \\[view-buffer], |
447 will return to that buffer. | 447 \\[view-buffer-other-window], \\[view-buffer-other frame], \\[view-file], |
448 \\[view-file-other-window], or \\[view-file-other-frame], | |
449 then \\[View-leave] , \\[View-quit] and \\[View-kill-and-leave] will return to that buffer. | |
448 | 450 |
449 Entry to view-mode runs the normal hook `view-mode-hook'." | 451 Entry to view-mode runs the normal hook `view-mode-hook'." |
450 (interactive "P") | 452 (interactive "P") |
451 (unless (and arg ; Do nothing if already OK. | 453 (unless (and arg ; Do nothing if already OK. |
452 (if (> (prefix-numeric-value arg) 0) view-mode (not view-mode))) | 454 (if (> (prefix-numeric-value arg) 0) view-mode (not view-mode))) |