diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/comint.el | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 81ddbd18936..24ac14e7b44 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2001-09-04 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-09-04 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * comint.el (comint-insert-clicked-input): Goto point-max before | ||
| 4 | deleting previous input. From "Dr Francis J. Wright" | ||
| 5 | <F.J.Wright@qmw.ac.uk>. | ||
| 6 | |||
| 3 | * simple.el (backward-word): Doc fix. | 7 | * simple.el (backward-word): Doc fix. |
| 4 | 8 | ||
| 5 | 2001-09-04 Eli Zaretskii <eliz@is.elta.co.il> | 9 | 2001-09-04 Eli Zaretskii <eliz@is.elta.co.il> |
diff --git a/lisp/comint.el b/lisp/comint.el index 29897a92c58..595f830a924 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -787,6 +787,7 @@ buffer. The hook `comint-exec-hook' is run after each exec." | |||
| 787 | (if over | 787 | (if over |
| 788 | (let ((input-str (buffer-substring (overlay-start over) | 788 | (let ((input-str (buffer-substring (overlay-start over) |
| 789 | (overlay-end over)))) | 789 | (overlay-end over)))) |
| 790 | (goto-char (point-max)) | ||
| 790 | (delete-region | 791 | (delete-region |
| 791 | ;; Can't use kill-region as it sets this-command | 792 | ;; Can't use kill-region as it sets this-command |
| 792 | (or (marker-position comint-accum-marker) | 793 | (or (marker-position comint-accum-marker) |