summaryrefslogtreecommitdiff
path: root/lisp/view.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1998-06-03 14:35:38 +0000
committerKarl Heuer <kwzh@gnu.org>1998-06-03 14:35:38 +0000
commit7e969c682808cc5c26f4773d2c7cc9cfb69bfd91 (patch)
treee540b1fe1f45b89f88b0146630e3cca66c82ced3 /lisp/view.el
parent7df19288d958bfe1118b900f7938fa977506642c (diff)
downloademacs-7e969c682808cc5c26f4773d2c7cc9cfb69bfd91.tar.gz
(View-exit-and-edit): Bind view-no-disable-on-exit to nil.
Diffstat (limited to 'lisp/view.el')
-rw-r--r--lisp/view.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/view.el b/lisp/view.el
index 1f6c8f42ac2..ca9ee827f5a 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -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 ()