]> git.eshelyaron.com Git - emacs.git/commitdiff
(comint-insert-clicked-input): Insert clicked-on previous input without
authorMiles Bader <miles@gnu.org>
Mon, 17 Jun 2002 08:10:37 +0000 (08:10 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 17 Jun 2002 08:10:37 +0000 (08:10 +0000)
properties.  Patch from John Paul Wallington <jpw@shootybangbang.com>.

lisp/ChangeLog
lisp/comint.el

index 236fc1ff0210e9413802140b692efafa0d7e423e..e402b87d793909fc76fa1306f04ccb7be24eeeaa 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-17  John Paul Wallington  <jpw@shootybangbang.com>
+
+       * comint.el (comint-insert-clicked-input): Insert clicked-on
+       previous input without properties.
+
 2002-06-16  Andrew Choi  <akochoi@shaw.ca>
 
        * term/mac-win.el (scalable-fonts-allowed): Set to t.
index f864da964968cc18d6452a2eede94ac207020a4f..7aeba47baec50de0b217a5b555ddd10b3a4596ab 100644 (file)
@@ -779,10 +779,9 @@ buffer.  The hook `comint-exec-hook' is run after each exec."
           (process-mark (get-buffer-process (current-buffer))))
        (point))
       ;; Insert the clicked-upon input
-      (insert-buffer-substring
-       (current-buffer)
-       (previous-single-char-property-change (1+ pos) 'field)
-       (next-single-char-property-change pos 'field)))))
+      (insert (buffer-substring-no-properties
+              (previous-single-char-property-change (1+ pos) 'field)
+              (next-single-char-property-change pos 'field))))))
 
 
 \f