diff lisp/info.el @ 747:9f953fdc1394

[xemacs-hg @ 2002-02-11 12:43:21 by michaels] 2002-02-11 Mike Sperber <mike@xemacs.org> * info.el (Info-maybe-update-dir): Regenerate dir if we're regenerating outdated dir files and dir is non-existent.
author michaels
date Mon, 11 Feb 2002 12:43:23 +0000
parents a65ddffa00a5
children 943eaba38521
line wrap: on
line diff
--- a/lisp/info.el	Fri Feb 08 13:04:21 2002 +0000
+++ b/lisp/info.el	Mon Feb 11 12:43:23 2002 +0000
@@ -1089,8 +1089,8 @@
 	      (null (Info-directory-files file 'all)))
     (if (not (find-buffer-visiting file))
 	(if (not (file-exists-p file))
-	    (if (or (eq Info-auto-generate-directory 'always)
-		    (eq Info-auto-generate-directory 'if-missing))
+	    (if (or (memq Info-auto-generate-directory
+			  '(always if-missing if-outdated)))
 		(Info-build-dir-anew (file-name-directory file)))
 	  (if (or (eq Info-auto-generate-directory 'always)
 		  (and (eq Info-auto-generate-directory 'if-outdated)