mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(comint-filter): Increment opoint only if after insertion point.
This commit is contained in:
parent
d3f7c8c6e4
commit
c64cc46775
@ -662,7 +662,8 @@ Similarly for Soar, Scheme, etc."
|
||||
(nchars (length string)))
|
||||
(widen)
|
||||
(goto-char (process-mark process))
|
||||
(setq opoint (+ opoint nchars))
|
||||
(if (<= (point) opoint)
|
||||
(setq opoint (+ opoint nchars)))
|
||||
;; Insert after old_begv, but before old_zv.
|
||||
(if (< (point) obeg)
|
||||
(setq obeg (+ obeg nchars)))
|
||||
|
Loading…
Reference in New Issue
Block a user