changeset 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 b13b1b7b11f1
children ca2d04c5710a
files lisp/ChangeLog lisp/info.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Feb 08 13:04:21 2002 +0000
+++ b/lisp/ChangeLog	Mon Feb 11 12:43:23 2002 +0000
@@ -1,3 +1,8 @@
+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.
+
 2002-02-03  Adrian Aichner  <adrian@xemacs.org>
 
 	* printer.el (generic-print-region): Don't pass unwanted buffer
--- 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)