changeset 57702:c61ee1c7b2e8

(woman): Don't call interactive-p.
author Richard M. Stallman <rms@gnu.org>
date Tue, 26 Oct 2004 08:36:11 +0000
parents 28c08e3b5530
children 4ec6bb442cdd
files lisp/woman.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/woman.el	Tue Oct 26 08:33:14 2004 +0000
+++ b/lisp/woman.el	Tue Oct 26 08:36:11 2004 +0000
@@ -1132,7 +1132,7 @@
 should be a topic string and non-nil RE-CACHE forces re-caching."
   (interactive (list nil current-prefix-arg))
   ;; The following test is for non-interactive calls via gnudoit etc.
-  (if (or (interactive-p) (not (stringp topic)) (string-match "\\S " topic))
+  (if (or (not (stringp topic)) (string-match "\\S " topic))
       (let ((file-name (woman-file-name topic re-cache)))
 	(if file-name
 	    (woman-find-file file-name)