From: Philip Kaludercic Date: Thu, 26 Jan 2023 18:39:16 +0000 (+0100) Subject: ; Fix issues with processing out-of-order IRC messages X-Git-Tag: emacs-29.0.90~587 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3766a666b5592e26f35d9ae3f5d60a5c49285e7c;p=emacs.git ; 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. --- diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 77a9d70ac9e..97a314eb8ab 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -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))