diff options
author | Philip Kaludercic <philipk@posteo.net> | 2023-01-26 19:39:16 +0100 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2023-01-26 19:41:25 +0100 |
commit | 3766a666b5592e26f35d9ae3f5d60a5c49285e7c (patch) | |
tree | e67a41b8c14af10f7ff50fb0a535c768962d729a /lisp/net | |
parent | f8c95d1a7681e861fc22d2a040cda0ddfe23eff4 (diff) | |
download | emacs-3766a666b5592e26f35d9ae3f5d60a5c49285e7c.tar.gz emacs-3766a666b5592e26f35d9ae3f5d60a5c49285e7c.tar.bz2 emacs-3766a666b5592e26f35d9ae3f5d60a5c49285e7c.zip |
; 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.
Diffstat (limited to 'lisp/net')
-rw-r--r-- | lisp/net/rcirc.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 77a9d70ac9e..97a314eb8ab 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)) |