summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-20 06:15:12 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-20 06:15:12 +0000
commit603f946a381fc4b0bc6474d18bd8e174eae348a5 (patch)
treef4d1c3b8140430560dcf7299d1e0427c96fc4c3c /lisp
parent4690f201338c03ad1f90bbfb4a0c275e10eb21d9 (diff)
downloademacs-603f946a381fc4b0bc6474d18bd8e174eae348a5.tar.gz
(view-mode-auto-exit): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/view.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/view.el b/lisp/view.el
index dd7dca6defa..bbc168b6f9c 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -37,7 +37,10 @@
(make-variable-buffer-local 'view-mode)
(defvar view-mode-auto-exit nil
- "Non-nil means scrolling past the end of buffer exits View mode.")
+ "Non-nil means scrolling past the end of buffer exits View mode.
+Some commands, such as \\[view-file], set this to t locally;
+the only way to override that is to set it to nil using `view-mode-hook'.")
+
(make-variable-buffer-local 'view-mode-auto-exit)
(defvar view-old-buffer-read-only nil)