emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 3766a666b5: ; Fix issues with processing out-of-order IRC messa


From: Philip Kaludercic
Subject: emacs-29 3766a666b5: ; Fix issues with processing out-of-order IRC messages
Date: Thu, 26 Jan 2023 13:41:39 -0500 (EST)

branch: emacs-29
commit 3766a666b5592e26f35d9ae3f5d60a5c49285e7c
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 77a9d70ac9..97a314eb8a 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]