changeset 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 c4808cb5eccb
children f57ee448e79e
files lisp/comint.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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))