]> git.eshelyaron.com Git - emacs.git/commitdiff
(Man-fontify-manpage): Render section headings in
authorEli Zaretskii <eliz@is.elta.co.il>
Mon, 16 Feb 2004 18:22:33 +0000 (18:22 +0000)
committerEli Zaretskii <eliz@is.elta.co.il>
Mon, 16 Feb 2004 18:22:33 +0000 (18:22 +0000)
`Man-overstrike-face' even when overstrike was not used by man
formatter for section headings.

lisp/ChangeLog
lisp/man.el

index 09d5dc617f2caee4f22baca9d8718dd5d5ea5a2e..047a82f7cddbdf41bfbbd3d0766ceac71dd32707 100644 (file)
@@ -1,3 +1,9 @@
+2004-02-16  John Basrai  <jbasrai@comcast.net>  (tiny change)
+
+       * man.el (Man-fontify-manpage): Render section headings in
+       `Man-overstrike-face' even when overstrike was not used by man
+       formatter for section headings.
+
 2004-02-16  Eli Tziperman  <eli@deas.harvard.edu>
 
        * rmail-spam-filter.el: (vm-use-spam-filter)
index faf153bc4c492a8482026986af7201a55692b07e..0e665af723e4872749bc278491abc32a35cdedf1 100644 (file)
@@ -801,6 +801,11 @@ Same for the ANSI bold and normal escape sequences."
   ;; 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 ()