From: Philip Kaludercic Date: Thu, 10 Jun 2021 17:44:00 +0000 (+0200) Subject: Preserve incoming order of messages with same timestamp X-Git-Tag: emacs-28.0.90~1748^2~19 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a44e402b69b5d44afe1dfdd38fec7fcb57d8af38;p=emacs.git Preserve incoming order of messages with same timestamp * rcirc.el (rcirc-print): Emulate time-less-or-equal-p --- diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index abe4cfb0b30..50ddb6ca050 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -1767,7 +1767,7 @@ connection." (goto-char (or (previous-single-property-change (point) 'hard) (point-min))) (when (let ((then (get-text-property (point) 'rcirc-time))) - (and then (time-less-p then time))) + (and then (not (time-less-p time then)))) (next-single-property-change (point) 'hard) (forward-char 1) (throw 'exit nil))))