diff options
author | Roland McGrath <roland@gnu.org> | 1991-05-09 21:50:34 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1991-05-09 21:50:34 +0000 |
commit | 7229064dbf9dfcb873824a6f2a9af0bdb112b550 (patch) | |
tree | f024dce4c7262b3a5803600360b1ade5bf8bdb59 /lisp/view.el | |
parent | d6003f63e9a3bee57bc3c87ac3e597326e221bb6 (diff) | |
download | emacs-7229064dbf9dfcb873824a6f2a9af0bdb112b550.tar.gz |
*** empty log message ***
Diffstat (limited to 'lisp/view.el')
-rw-r--r-- | lisp/view.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/view.el b/lisp/view.el index 36f0d7bb63b..8b0324cfbb4 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -90,6 +90,7 @@ ) +;;;###autoload (defun view-file (file-name) "View FILE in View mode, returning to previous buffer when done. The usual Emacs commands are not available; instead, @@ -108,6 +109,7 @@ Calls the value of view-hook if that is non-nil." (and (not had-a-buf) (not (buffer-modified-p buf-to-view)) 'kill-buffer)))) +;;;###autoload (defun view-buffer (buffer-name) "View BUFFER in View mode, returning to previous buffer when done. The usual Emacs commands are not available; instead, @@ -122,6 +124,7 @@ Calls the value of view-hook if that is non-nil." (switch-to-buffer buffer-name t) (view-mode old-buf nil))) +;;;###autoload (defun view-mode (&optional prev-buffer action) "Major mode for viewing text but not editing it. Letters do not insert themselves. Instead these commands are provided. |