Commit 72b5cb89 authored by Karl Heuer's avatar Karl Heuer
Browse files

(View-exit-and-edit): Bind view-no-disable-on-exit to nil.

parent 074c438c
......@@ -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 ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment