aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2004-02-16 18:22:33 +0000
committerEli Zaretskii2004-02-16 18:22:33 +0000
commit1c0ecbc4990861eee12b7983a068e976ad37fd23 (patch)
treed45d1f28844982bf4443b7715c8a78e4baa57617
parent491cd154eabd7c4aa21dc9a55beddb54b7711e2a (diff)
downloademacs-1c0ecbc4990861eee12b7983a068e976ad37fd23.tar.gz
emacs-1c0ecbc4990861eee12b7983a068e976ad37fd23.zip
(Man-fontify-manpage): Render section headings in
`Man-overstrike-face' even when overstrike was not used by man formatter for section headings.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/man.el5
2 files changed, 11 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 09d5dc617f2..047a82f7cdd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12004-02-16 John Basrai <jbasrai@comcast.net> (tiny change)
2
3 * man.el (Man-fontify-manpage): Render section headings in
4 `Man-overstrike-face' even when overstrike was not used by man
5 formatter for section headings.
6
12004-02-16 Eli Tziperman <eli@deas.harvard.edu> 72004-02-16 Eli Tziperman <eli@deas.harvard.edu>
2 8
3 * rmail-spam-filter.el: (vm-use-spam-filter) 9 * rmail-spam-filter.el: (vm-use-spam-filter)
diff --git a/lisp/man.el b/lisp/man.el
index faf153bc4c4..0e665af723e 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -801,6 +801,11 @@ Same for the ANSI bold and normal escape sequences."
801 ;; Try to recognize common forms of cross references. 801 ;; Try to recognize common forms of cross references.
802 (Man-highlight-references) 802 (Man-highlight-references)
803 (Man-softhyphen-to-minus) 803 (Man-softhyphen-to-minus)
804 (goto-char (point-min))
805 (while (re-search-forward Man-heading-regexp nil t)
806 (put-text-property (match-beginning 0)
807 (match-end 0)
808 'face Man-overstrike-face))
804 (message "%s man page formatted" Man-arguments)) 809 (message "%s man page formatted" Man-arguments))
805 810
806(defun Man-highlight-references () 811(defun Man-highlight-references ()