From 386987aa50d6687068f3b6f577960be56a9a0e77 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 13 Nov 2008 17:04:53 +0000 Subject: [PATCH] (project-find-settings-file): Fix last change. --- lisp/files.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index 05442d4665e..6c45abeb3ee 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3222,7 +3222,8 @@ Otherwise this returns nil." (let* ((settings (locate-dominating-file file project-settings-file)) (pda nil)) ;; `locate-dominating-file' may have abbreviated the name. - (if settings (setq settings (expand-file-name ".dir-settings.el" settings))) + (if settings + (setq settings (expand-file-name project-settings-file settings))) (dolist (x project-directory-alist) (when (and (eq t (compare-strings file nil (length (car x)) (car x) nil nil)) -- 2.39.2