From: yamaoka Date: Tue, 12 Dec 2006 08:21:00 +0000 (+0000) Subject: (compile-flim-package): Use batch-update-directory-autoloads if it is available X-Git-Tag: flim-1_14_9-pre0~9 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb5be4e443bbfde8075f6192375179ae090e8c22;p=elisp%2Fflim.git (compile-flim-package): Use batch-update-directory-autoloads if it is available instead of batch-update-directory. --- diff --git a/ChangeLog b/ChangeLog index 18a38cc..7c3e0fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-12-12 Katsumi Yamaoka + + * FLIM-MK (compile-flim-package): Use + batch-update-directory-autoloads if it is available instead of + batch-update-directory. + 2006-12-11 Katsumi Yamaoka * FLIM-CFG (PACKAGEDIR): Check for diff --git a/FLIM-MK b/FLIM-MK index 8415fd1..6af7c49 100644 --- a/FLIM-MK +++ b/FLIM-MK @@ -69,9 +69,15 @@ LISPDIR=%s\n" PREFIX LISPDIR)))) (defun compile-flim-package () (config-flim-package) - (setq autoload-package-name "flim") - (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 "flim") + (batch-update-directory-autoloads)) + (setq autoload-package-name "flim") + (add-to-list 'command-line-args-left ".") + (batch-update-directory)) (add-to-list 'command-line-args-left ".") (Custom-make-dependencies)