Mercurial > emacs
diff lisp/comint.el @ 15541:09b145e9bf4d
(comint-send-input): Use insert-before-markers for all the insertions.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Fri, 28 Jun 1996 08:08:45 +0000 |
| parents | 0c818ae83d43 |
| children | 6f32894f4ad3 |
line wrap: on
line diff
--- a/lisp/comint.el Fri Jun 28 08:06:37 1996 +0000 +++ b/lisp/comint.el Fri Jun 28 08:08:45 1996 +0000 @@ -1166,11 +1166,11 @@ (comint-replace-by-expanded-history t) (let ((copy (buffer-substring pmark (point)))) (delete-region pmark (point)) - (insert input) + (insert-before-markers input) copy)))) (if comint-process-echoes (delete-region pmark (point)) - (insert ?\n)) + (insert-before-markers ?\n)) (if (and (funcall comint-input-filter history) (or (null comint-input-ignoredups) (not (ring-p comint-input-ring))
