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:
parent
ca97010c3a
commit
02f244c8ed
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user