diff options
| author | Lute Kamstra | 2005-02-03 19:42:19 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-02-03 19:42:19 +0000 |
| commit | 02f244c8ed2af96f446bbb24213baa9cdf13e082 (patch) | |
| tree | af07c4709ad8589c41ad11fc828eccff8d935c10 | |
| parent | ca97010c3a44c61515e59340ebf062b3dce6ff9b (diff) | |
| download | emacs-02f244c8ed2af96f446bbb24213baa9cdf13e082.tar.gz emacs-02f244c8ed2af96f446bbb24213baa9cdf13e082.zip | |
(help-with-tutorial): Make sure that users cannot remove the entire
text of the tutorial by means of `undo'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/help-fns.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2cf391c4807..60f02018012 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-02-03 Lute Kamstra <lute@gnu.org> | ||
| 2 | |||
| 3 | * help-fns.el (help-with-tutorial): Make sure that users cannot | ||
| 4 | remove the entire text of the tutorial by means of `undo'. | ||
| 5 | |||
| 1 | 2005-02-03 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2005-02-03 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * textmodes/ispell.el (ispell-internal-change-dictionary): Fix problem | 8 | * textmodes/ispell.el (ispell-internal-change-dictionary): Fix problem |
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." | |||
| 97 | (forward-line 1) | 97 | (forward-line 1) |
| 98 | (newline (- n (/ n 2))))) | 98 | (newline (- n (/ n 2))))) |
| 99 | (goto-char (point-min)) | 99 | (goto-char (point-min)) |
| 100 | (setq buffer-undo-list nil) | ||
| 100 | (set-buffer-modified-p nil)))) | 101 | (set-buffer-modified-p nil)))) |
| 101 | 102 | ||
| 102 | ;;;###autoload | 103 | ;;;###autoload |