; Fix issues with processing out-of-order IRC messages

* lisp/net/rcirc.el (rcirc-print): Always move to the beginning of the
line, before setting any markers.
This commit is contained in:
Philip Kaludercic 2023-01-26 19:39:16 +01:00
parent f8c95d1a76
commit 3766a666b5

View file

@ -2062,12 +2062,11 @@ connection."
(next-single-property-change (point) 'hard)
(forward-char 1)
(throw 'exit nil))))
(goto-char (line-beginning-position))
(set-marker-insertion-type rcirc-prompt-start-marker t)
(set-marker-insertion-type rcirc-prompt-end-marker t)
;; run markup functions
(unless (bolp)
(newline))
(save-excursion
(save-restriction
(narrow-to-region (point) (point))