From 08fc78fe05b336871a81e14bbc67831829764efc Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 30 Jun 2008 08:00:27 +0000 Subject: [PATCH] Fix a bug with parsing of overlapping markup sequences in rcirc Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1299 --- lisp/ChangeLog | 5 +++++ lisp/net/rcirc.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b550cdcc481..2297d1c35b5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-06-30 Miles Bader + + * net/rcirc.el (rcirc-markup-attributes): Don't skip a character + after processing an escape sequence. + 2008-06-29 Michael Albinus * net/tramp-ftp.el (tramp-ftp-file-name-handler): Revert patch diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 5eb96c0b5dc..228b55c01ba 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -2196,7 +2196,7 @@ keywords when no KEYWORD is given." (when (not (eq ?\C-o (char-before (match-end 2)))) (delete-region (match-beginning 2) (match-end 2))) (delete-region (match-beginning 1) (match-end 1)) - (goto-char (1+ (match-beginning 1)))) + (goto-char (match-beginning 1))) ;; remove the ^O characters now (while (re-search-forward "\C-o+" nil t) (delete-region (match-beginning 0) (match-end 0)))) -- 2.39.2