Mercurial > emacs
diff lisp/comint.el @ 39115:8249ca4e2b8a
(comint-insert-clicked-input): Goto point-max before
deleting previous input. From "Dr Francis J. Wright"
<F.J.Wright@qmw.ac.uk>.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 04 Sep 2001 12:44:49 +0000 |
parents | 3037adea8353 |
children | 85a3a9115a49 |
line wrap: on
line diff
--- a/lisp/comint.el Tue Sep 04 11:28:50 2001 +0000 +++ b/lisp/comint.el Tue Sep 04 12:44:49 2001 +0000 @@ -787,6 +787,7 @@ (if over (let ((input-str (buffer-substring (overlay-start over) (overlay-end over)))) + (goto-char (point-max)) (delete-region ;; Can't use kill-region as it sets this-command (or (marker-position comint-accum-marker)