From ce3f9fba1a32260ff837d689ac6928a75bab86d9 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Mon, 17 Jul 2023 22:02:38 +0200 Subject: [PATCH] ; Improve accuracy of out-out-order message insertion * lisp/net/rcirc.el (rcirc-print): Do not ignore the return value of 'next-single-property-change'. --- lisp/net/rcirc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index cf1b952086a..1ddffe8dec9 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -2059,7 +2059,7 @@ connection." (point-min))) (when (let ((then (get-text-property (point) 'rcirc-time))) (and then (not (time-less-p time then)))) - (next-single-property-change (point) 'hard) + (goto-char (next-single-property-change (point) 'hard)) (forward-char 1) (throw 'exit nil)))) (goto-char (line-beginning-position)) -- 2.39.2