From da9de4105759721aafa90feaafcfe39f05a1924d Mon Sep 17 00:00:00 2001 From: yamaoka Date: Wed, 13 Dec 2006 01:31:30 +0000 Subject: [PATCH] (PACKAGEDIR): Avoid an error with Emacs. --- ChangeLog | 4 ++++ FLIM-CFG | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7c3e0fd..35b50ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-12-13 Katsumi Yamaoka + + * FLIM-CFG (PACKAGEDIR): Avoid an error with Emacs. + 2006-12-12 Katsumi Yamaoka * FLIM-MK (compile-flim-package): Use diff --git a/FLIM-CFG b/FLIM-CFG index b7040db..ad93717 100644 --- a/FLIM-CFG +++ b/FLIM-CFG @@ -80,7 +80,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