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-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d865e18096856af4014df69790120bf30dd17545;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 da7c20b5e0a..5e4aa5e1198 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))