1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 06:21:02 -08:00

(Man-highlight-references): Set an empty

string to `Man-arguments' if it is nil.
Suggested by Reiner Steib <reinersteib+gmane@imap.cc>.
This commit is contained in:
Masatake YAMATO 2005-11-10 04:49:19 +00:00
parent fe8bc3fa17
commit af8308ec80
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-11-10 Masatake YAMATO <jet@gyve.org>
* man.el (Man-highlight-references): Set an empty
string to `Man-arguments' if it is nil.
Suggested by Reiner Steib <reinersteib+gmane@imap.cc>.
2005-11-09 Richard M. Stallman <rms@gnu.org>
* apropos.el (apropos-pattern): Renamed from apropos-regexp.

View file

@ -923,6 +923,10 @@ header file (#include <foo.h>) and files in FILES.
If XREF-MAN-TYPE is used as the button type for items
in SEE ALSO section. If it is nil, default type,
`Man-xref-man-page' is used."
;; `Man-highlight-references' is used from woman.el, too.
;; woman.el doesn't set `Man-arguments'.
(unless Man-arguments
(setq Man-arguments ""))
(if (string-match "-k " Man-arguments)
(progn
(Man-highlight-references0