From: yamaoka Date: Tue, 12 Dec 2006 08:21:14 +0000 (+0000) Subject: Synch with semi-1_14 branch. X-Git-Tag: emiko-1_14-epg-branchpoint~5 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62d2e9e2b79c13e677a9956a035d71c209ca6a11;p=elisp%2Fsemi.git Synch with semi-1_14 branch. --- diff --git a/ChangeLog b/ChangeLog index c3b5fe7..eb3cf26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-12-12 Katsumi Yamaoka + + * SEMI-MK (compile-semi-package): Use + batch-update-directory-autoloads if it is available instead of + batch-update-directory. + 2006-12-11 Katsumi Yamaoka * SEMI-CFG (PACKAGEDIR): Check for diff --git a/SEMI-MK b/SEMI-MK index 2aed7f1..482deba 100644 --- a/SEMI-MK +++ b/SEMI-MK @@ -70,9 +70,15 @@ LISPDIR=%s\n" PREFIX LISPDIR)) (defun compile-semi-package () (config-semi-package) - (setq autoload-package-name "semi") - (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 "semi") + (batch-update-directory-autoloads)) + (setq autoload-package-name "semi") + (add-to-list 'command-line-args-left ".") + (batch-update-directory)) (add-to-list 'command-line-args-left ".") (Custom-make-dependencies)