mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-20 20:50:53 -08:00
; 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.
This commit is contained in:
parent
f8c95d1a76
commit
3766a666b5
1 changed files with 1 additions and 2 deletions
|
|
@ -2062,12 +2062,11 @@ connection."
|
||||||
(next-single-property-change (point) 'hard)
|
(next-single-property-change (point) 'hard)
|
||||||
(forward-char 1)
|
(forward-char 1)
|
||||||
(throw 'exit nil))))
|
(throw 'exit nil))))
|
||||||
|
(goto-char (line-beginning-position))
|
||||||
(set-marker-insertion-type rcirc-prompt-start-marker t)
|
(set-marker-insertion-type rcirc-prompt-start-marker t)
|
||||||
(set-marker-insertion-type rcirc-prompt-end-marker t)
|
(set-marker-insertion-type rcirc-prompt-end-marker t)
|
||||||
|
|
||||||
;; run markup functions
|
;; run markup functions
|
||||||
(unless (bolp)
|
|
||||||
(newline))
|
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(save-restriction
|
(save-restriction
|
||||||
(narrow-to-region (point) (point))
|
(narrow-to-region (point) (point))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue