From af8308ec80df3e1f05efec6cb030e8f37693fd2c Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Thu, 10 Nov 2005 04:49:19 +0000 Subject: [PATCH] (Man-highlight-references): Set an empty string to `Man-arguments' if it is nil. Suggested by Reiner Steib . --- lisp/ChangeLog | 6 ++++++ lisp/man.el | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9fa5965093c..685c56bd6ba 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/man.el b/lisp/man.el index 30ab44efad0..5b5096f157d 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -923,6 +923,10 @@ header file (#include ) 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 -- 2.39.2