1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-18 06:01:22 -08: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))