1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

(help-with-tutorial): Make sure that users cannot remove the entire

text of the tutorial by means of `undo'.
This commit is contained in:
Lute Kamstra 2005-02-03 19:42:19 +00:00
parent ca97010c3a
commit 02f244c8ed
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-02-03 Lute Kamstra <lute@gnu.org>
* help-fns.el (help-with-tutorial): Make sure that users cannot
remove the entire text of the tutorial by means of `undo'.
2005-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
* textmodes/ispell.el (ispell-internal-change-dictionary): Fix problem

View File

@ -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