From: yamaoka Date: Wed, 13 Dec 2006 01:31:41 +0000 (+0000) Subject: Synch with semi-1_14 branch. X-Git-Tag: emiko-1_14-epg-branchpoint~4 X-Git-Url: http://git.chise.org/gitweb/?p=elisp%2Fsemi.git;a=commitdiff_plain;h=3ad988fc599ea634c2f9ad926ba8d901aad6a409 Synch with semi-1_14 branch. --- diff --git a/ChangeLog b/ChangeLog index eb3cf26..82c8ee5 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 509b635..3dba230 100644 --- a/SEMI-CFG +++ b/SEMI-CFG @@ -173,7 +173,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))