Mercurial > emacs
diff lisp/man.el @ 54005:230edeac0da5
(Man-fontify-manpage): Render section headings in
`Man-overstrike-face' even when overstrike was not used by man
formatter for section headings.
author | Eli Zaretskii <eliz@is.elta.co.il> |
---|---|
date | Mon, 16 Feb 2004 18:20:31 +0000 |
parents | f428900fb582 |
children | 9172c9ef1dcf |
line wrap: on
line diff
--- a/lisp/man.el Mon Feb 16 18:11:52 2004 +0000 +++ b/lisp/man.el Mon Feb 16 18:20:31 2004 +0000 @@ -801,6 +801,11 @@ ;; Try to recognize common forms of cross references. (Man-highlight-references) (Man-softhyphen-to-minus) + (goto-char (point-min)) + (while (re-search-forward Man-heading-regexp nil t) + (put-text-property (match-beginning 0) + (match-end 0) + 'face Man-overstrike-face)) (message "%s man page formatted" Man-arguments)) (defun Man-highlight-references ()