+2006-12-12 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * MU-MK (compile-mu-package): Use batch-update-directory-autoloads
+ if it is available instead of batch-update-directory.
+
2006-12-11 Katsumi Yamaoka <yamaoka@jpl.org>
* MU-CFG (PACKAGEDIR): Check for
(defun compile-mu-package ()
(config-mu-package)
- (setq autoload-package-name "mu")
- (add-to-list 'command-line-args-left ".")
- (batch-update-directory)
+ (if (fboundp 'batch-update-directory-autoloads)
+ ;; XEmacs 21.5.19 and newer.
+ (progn
+ (add-to-list 'command-line-args-left ".")
+ (add-to-list 'command-line-args-left "mu")
+ (batch-update-directory-autoloads))
+ (setq autoload-package-name "mu")
+ (add-to-list 'command-line-args-left ".")
+ (batch-update-directory))
(add-to-list 'command-line-args-left ".")
(Custom-make-dependencies)