1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

(Man-fontify-manpage): Pay attention to overstrike

pattern for CJK characters (X^H^HX).
This commit is contained in:
Kenichi Handa 2000-06-09 00:42:39 +00:00
parent 41ea379491
commit cb581be7b1

View File

@ -693,7 +693,7 @@ Same for the ANSI bold and normal escape sequences."
(backward-delete-char 2)
(put-text-property (1- (point)) (point) 'face Man-underline-face))
(goto-char (point-min))
(while (re-search-forward "\\(.\\)\\(\b\\1\\)+" nil t)
(while (re-search-forward "\\(.\\)\\(\b+\\1\\)+" nil t)
(replace-match "\\1")
(put-text-property (1- (point)) (point) 'face Man-overstrike-face))
(goto-char (point-min))