mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(View-exit-and-edit): Bind view-no-disable-on-exit to nil.
This commit is contained in:
parent
074c438cbb
commit
72b5cb89c3
1 changed files with 2 additions and 1 deletions
|
|
@ -582,7 +582,8 @@ corresponding OLD-WINDOW is a live window, then select OLD-WINDOW."
|
|||
(defun View-exit-and-edit ()
|
||||
"Exit View mode and make the current buffer editable."
|
||||
(interactive)
|
||||
(let ((view-old-buffer-read-only nil))
|
||||
(let ((view-old-buffer-read-only nil)
|
||||
(view-no-disable-on-exit nil))
|
||||
(view-mode-exit)))
|
||||
|
||||
(defun View-leave ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue