* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.