emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d865e18096: ; Fix issues with processing out-of-order IRC message


From: Philip Kaludercic
Subject: master d865e18096: ; Fix issues with processing out-of-order IRC messages
Date: Thu, 26 Jan 2023 13:40:59 -0500 (EST)

branch: master
commit d865e18096856af4014df69790120bf30dd17545
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    ; 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.
---
 lisp/net/rcirc.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index da7c20b5e0..5e4aa5e119 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]