From: Chong Yidong Date: Thu, 13 Nov 2008 17:04:53 +0000 (+0000) Subject: (project-find-settings-file): Fix last change. X-Git-Tag: emacs-pretest-23.0.90~1850 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=386987aa50d6687068f3b6f577960be56a9a0e77;p=emacs.git (project-find-settings-file): Fix last change. --- 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))