# HG changeset patch # User Masatake YAMATO # Date 1131598159 0 # Node ID 9a04e09eb6c96fa99012d2068b40c5b98fc32180 # Parent bbb46679c9d904a4a16453781f84ed834c33cce7 (Man-highlight-references): Set an empty string to `Man-arguments' if it is nil. Suggested by Reiner Steib . diff -r bbb46679c9d9 -r 9a04e09eb6c9 lisp/ChangeLog --- a/lisp/ChangeLog Thu Nov 10 03:18:51 2005 +0000 +++ b/lisp/ChangeLog Thu Nov 10 04:49:19 2005 +0000 @@ -1,3 +1,9 @@ +2005-11-10 Masatake YAMATO + + * man.el (Man-highlight-references): Set an empty + string to `Man-arguments' if it is nil. + Suggested by Reiner Steib . + 2005-11-09 Richard M. Stallman * apropos.el (apropos-pattern): Renamed from apropos-regexp. diff -r bbb46679c9d9 -r 9a04e09eb6c9 lisp/man.el --- a/lisp/man.el Thu Nov 10 03:18:51 2005 +0000 +++ b/lisp/man.el Thu Nov 10 04:49:19 2005 +0000 @@ -923,6 +923,10 @@ 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