From: yamaoka Date: Wed, 13 Dec 2006 01:31:37 +0000 (+0000) Subject: (PACKAGEDIR): Avoid an error with Emacs. X-Git-Tag: semi-1_14-wl-root~17 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a4e14c7dbbddd353e26498b97adc87aa38e213e;p=elisp%2Fsemi.git (PACKAGEDIR): Avoid an error with Emacs. --- diff --git a/ChangeLog b/ChangeLog index a7c6f07..53f8a63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-12-13 Katsumi Yamaoka + + * SEMI-CFG (PACKAGEDIR): Avoid an error with Emacs. + 2006-12-12 Katsumi Yamaoka * SEMI-MK (compile-semi-package): Use diff --git a/SEMI-CFG b/SEMI-CFG index 1c91805..f09e497 100644 --- a/SEMI-CFG +++ b/SEMI-CFG @@ -159,7 +159,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))