From: yamaoka Date: Wed, 13 Dec 2006 01:31:45 +0000 (+0000) Subject: (PACKAGEDIR): Avoid an error with Emacs. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=2eff1bc783be812044b70b2ff4afc9c441dcc9e9;p=elisp%2Fmu-cite.git (PACKAGEDIR): Avoid an error with Emacs. --- diff --git a/ChangeLog b/ChangeLog index f2e3b28..b486690 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-12-13 Katsumi Yamaoka + + * MU-CFG (PACKAGEDIR): Avoid an error with Emacs. + 2006-12-12 Katsumi Yamaoka * MU-MK (compile-mu-package): Use batch-update-directory-autoloads diff --git a/MU-CFG b/MU-CFG index 92d9b06..37edae6 100644 --- a/MU-CFG +++ b/MU-CFG @@ -98,7 +98,8 @@ (listp configure-package-path)) (delete "" configure-package-path)))) dir) - (while (not (file-exists-p (setq dir (car dirs)))) + (while (and (setq dir (car dirs)) + (not (file-exists-p dir))) (setq dirs (cdr dirs))) dir))