changeset 105607:f937670ddf40

(w32-batch-update-autoloads): Take autoload-make-program from the second command-line argument.
author Glenn Morris <rgm@gnu.org>
date Thu, 15 Oct 2009 06:10:45 +0000
parents 26a982d06189
children 1af242c07461
files lisp/ChangeLog lisp/w32-fns.el
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Oct 15 06:10:10 2009 +0000
+++ b/lisp/ChangeLog	Thu Oct 15 06:10:45 2009 +0000
@@ -1,5 +1,14 @@
 2009-10-15  Glenn Morris  <rgm@gnu.org>
 
+	* w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
+	from the second command-line argument.
+	* makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
+	($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
+	($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
+	w32-batch-update-autoloads.
+	* emacs-lisp/autoload.el (autoload-make-program): New variable.
+	(batch-update-autoloads): Handle autoload-excludes on windows-nt.
+
 	* mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
 	the headers cannot be located.  Simplify, subtracting superflous
 	save-excursions.
--- a/lisp/w32-fns.el	Thu Oct 15 06:10:10 2009 +0000
+++ b/lisp/w32-fns.el	Thu Oct 15 06:10:45 2009 +0000
@@ -490,7 +490,9 @@
 munge command-line arguments that include file names to a horrible mess
 that Emacs is unable to cope with."
   (let ((generated-autoload-file
-	 (expand-file-name (pop command-line-args-left))))
+	 (expand-file-name (pop command-line-args-left)))
+	;; I can only assume the same considerations may apply here...
+	(autoload-make-program (pop command-line-args-left)))
     (batch-update-autoloads)))
 
 (defun w32-append-code-lines (orig extra)