Commit 35068823 authored by Miles Bader's avatar Miles Bader
Browse files

(comint-insert-clicked-input): Insert clicked-on previous input without

properties.  Patch from John Paul Wallington <jpw@shootybangbang.com>.
parent e0156c8d
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.
......
......@@ -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)
(insert (buffer-substring-no-properties
(previous-single-char-property-change (1+ pos) 'field)
(next-single-char-property-change pos 'field)))))
(next-single-char-property-change pos 'field))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment