# HG changeset patch # User Kenichi Handa # Date 960511359 0 # Node ID e1423c7d516e022bf8db2b4b30c609c1d2fa6551 # Parent 32286debe3a434a22eaa68f48106ef0600d6fcd7 (Man-fontify-manpage): Pay attention to overstrike pattern for CJK characters (X^H^HX). diff -r 32286debe3a4 -r e1423c7d516e lisp/man.el --- a/lisp/man.el Fri Jun 09 00:41:32 2000 +0000 +++ b/lisp/man.el Fri Jun 09 00:42:39 2000 +0000 @@ -693,7 +693,7 @@ (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))