# HG changeset patch # User jwe # Date 1159801098 0 # Node ID b124a912d28bdd6d2d3d01d0b9dadc6d7a0c1daf # Parent bd22133332bd872799ce2152a833ebd9f8804e2b [project @ 2006-10-02 14:58:18 by jwe] diff -r bd22133332bd -r b124a912d28b scripts/miscellaneous/doc.m --- 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);