]> git.eshelyaron.com Git - emacs.git/commitdiff
(View-exit-and-edit): Bind view-no-disable-on-exit to nil.
authorKarl Heuer <kwzh@gnu.org>
Wed, 3 Jun 1998 14:35:38 +0000 (14:35 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 3 Jun 1998 14:35:38 +0000 (14:35 +0000)
lisp/view.el

index 1f6c8f42ac2becc051a742bc2f724c8a3f49ac68..ca9ee827f5af4407763962bfeaa635fcb14b9d5d 100644 (file)
@@ -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 ()