changeset 6017:b124a912d28b

[project @ 2006-10-02 14:58:18 by jwe]
author jwe
date Mon, 02 Oct 2006 14:58:18 +0000
parents bd22133332bd
children bda649f500bd
files scripts/miscellaneous/doc.m
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/miscellaneous/doc.m	Mon Oct 02 13:48:47 2006 +0000
+++ b/scripts/miscellaneous/doc.m	Mon Oct 02 14:58:18 2006 +0000
@@ -73,8 +73,12 @@
       info_file_name = info_file ();
     endif
 
-    cmd = sprintf ("\"%s\" --directory \"%s\" --file \"%s\"",
-		   info_program (), info_dir, info_file_name);
+    ## FIXME -- don't change the order of the arguments below because
+    ## the info-emacs-info script currently expects --directory DIR as
+    ## the third and fourth arguments.  Someone should fix that.
+
+    cmd = sprintf ("\"%s\" --file \"%s\" --directory \"%s\"",
+		   info_program (), info_file_name, info_dir);
 
     if (! isempty (fname))
       cmd = sprintf ("%s --index-search %s", cmd, fname);