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
commit72b5cb89c3ac085ff2f03f976c460ed5e7f71cc5 (patch)
treefce5c82d67d959d527e802a5be5eec6110c019e8 /lisp/view.el
parent074c438cbb211cf98e85bdcc525288bab91e1af4 (diff)
downloademacs-72b5cb89c3ac085ff2f03f976c460ed5e7f71cc5.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 ()