summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorLute Kamstra <lute@gnu.org>2005-02-03 19:42:19 +0000
committerLute Kamstra <lute@gnu.org>2005-02-03 19:42:19 +0000
commit02f244c8ed2af96f446bbb24213baa9cdf13e082 (patch)
treeaf07c4709ad8589c41ad11fc828eccff8d935c10 /lisp/help-fns.el
parentca97010c3a44c61515e59340ebf062b3dce6ff9b (diff)
downloademacs-02f244c8ed2af96f446bbb24213baa9cdf13e082.tar.gz
(help-with-tutorial): Make sure that users cannot remove the entire
text of the tutorial by means of `undo'.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 9acadaa2fa6..4bf0a4775a0 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -97,6 +97,7 @@ With ARG, you are asked to choose which language."
(forward-line 1)
(newline (- n (/ n 2)))))
(goto-char (point-min))
+ (setq buffer-undo-list nil)
(set-buffer-modified-p nil))))
;;;###autoload