unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* man.el changes to render section headings in overstrike mode when "man" program does not.
@ 2004-01-21 14:08 John Basrai
  0 siblings, 0 replies; only message in thread
From: John Basrai @ 2004-01-21 14:08 UTC (permalink / raw)




ChangeLog Entry:  emacs-21.3/lisp/ChangeLog
==================================================
2004-01-21 John Basrai  <jbasrai@comcast.net>

* 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 ()

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-21 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-21 14:08 man.el changes to render section headings in overstrike mode when "man" program does not John Basrai

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).