From: yamaoka Date: Wed, 13 Dec 2006 01:31:30 +0000 (+0000) Subject: (PACKAGEDIR): Avoid an error with Emacs. X-Git-Tag: flim-1_14_9-pre0~8 X-Git-Url: http://git.chise.org/gitweb/?p=elisp%2Fflim.git;a=commitdiff_plain;h=da9de4105759721aafa90feaafcfe39f05a1924d (PACKAGEDIR): Avoid an error with Emacs. --- 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))