mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(view-mode): Add autoload cookie to this variable.
(View-exit-and-edit): Add autoload cookie.
This commit is contained in:
parent
4b384a8f6f
commit
0093dc5a9a
1 changed files with 3 additions and 0 deletions
|
|
@ -75,7 +75,9 @@ Buffer is removed from all windows displaying it, by using information in
|
|||
`view-return-to-alist' if that is available, otherwise by using
|
||||
`replace-buffer-in-windows'.")
|
||||
|
||||
;;;###autoload
|
||||
(defvar view-mode nil "Non-nil if View mode is enabled.")
|
||||
;;;###autoload
|
||||
(make-variable-buffer-local 'view-mode)
|
||||
|
||||
(defvar view-mode-hook nil
|
||||
|
|
@ -519,6 +521,7 @@ corresponding OLD-WINDOW is a live window, then select OLD-WINDOW."
|
|||
(interactive)
|
||||
(view-mode-exit))
|
||||
|
||||
;;;###autoload
|
||||
(defun View-exit-and-edit ()
|
||||
"Exit View mode and make the current buffer editable."
|
||||
(interactive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue