From 7a4e14c7dbbddd353e26498b97adc87aa38e213e Mon Sep 17 00:00:00 2001 From: yamaoka Date: Wed, 13 Dec 2006 01:31:37 +0000 Subject: [PATCH] (PACKAGEDIR): Avoid an error with Emacs. --- ChangeLog | 4 ++++ SEMI-CFG | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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)) -- 1.7.10.4