emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

man.el changes to render section headings in overstrike mode when "man"


From: John Basrai
Subject: man.el changes to render section headings in overstrike mode when "man" program does not.
Date: Wed, 21 Jan 2004 06:08:05 -0800


ChangeLog Entry:  emacs-21.3/lisp/ChangeLog
==================================================
2004-01-21 John Basrai  <address@hidden>

* man.el (Man-fontify-manpage): Render section headings in
`Man-overstrike-face' even when overstrike was not used by man
formatter for section headings.
==================================================


diff -c man.el.orig man.el
*** man.el.orig Mon Nov 10 14:16:18 2003
--- man.el Mon Nov 10 14:51:31 2003
***************
*** 714,719 ****
--- 714,724 ----
      (replace-match "+")
      (put-text-property (1- (point)) (point) 'face 'bold))
    (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 made up" Man-arguments))

  (defun Man-cleanup-manpage ()






reply via email to

[Prev in Thread] Current Thread [Next in Thread]