emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Man-arguments might be nil


From: Masatake YAMATO
Subject: Re: Man-arguments might be nil
Date: Thu, 10 Nov 2005 13:51:44 +0900 (JST)

> > Hi,
> > 
> > with today's CVS, I got the following error after `M-x woman RET
> > vgrename RET':
> > ...
> 
> Thank you for reporting.
> After comparing your two patches, I'll install it to our
> CVS repository.

I installed following change.
I mixed ideas in your two patches into one.

Masatake YAMATO

Index: lisp/man.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/man.el,v
retrieving revision 1.156
diff -u -r1.156 man.el
--- lisp/man.el 6 Nov 2005 18:01:34 -0000       1.156
+++ lisp/man.el 10 Nov 2005 04:47:34 -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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]