Fix a bug with parsing of overlapping markup sequences in rcirc

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1299
This commit is contained in:
Miles Bader 2008-06-30 08:00:27 +00:00
parent 1cf6763fdb
commit 08fc78fe05
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-06-30 Miles Bader <miles@gnu.org>
* net/rcirc.el (rcirc-markup-attributes): Don't skip a character
after processing an escape sequence.
2008-06-29 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-ftp.el (tramp-ftp-file-name-handler): Revert patch

View file

@ -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))))