Commit 386987aa authored by Chong Yidong's avatar Chong Yidong
Browse files

(project-find-settings-file): Fix last change.

parent 09949b83
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment