From: Kenichi Handa Date: Fri, 9 Jun 2000 00:42:39 +0000 (+0000) Subject: (Man-fontify-manpage): Pay attention to overstrike X-Git-Tag: emacs-pretest-21.0.90~3436 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb581be7b155b38d9dd7736bfbf052f3ee631839;p=emacs.git (Man-fontify-manpage): Pay attention to overstrike pattern for CJK characters (X^H^HX). --- diff --git a/lisp/man.el b/lisp/man.el index 45fd98ab91a..7993d384338 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -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))