diff options
| author | Chong Yidong | 2008-11-13 17:04:53 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-11-13 17:04:53 +0000 |
| commit | 386987aa50d6687068f3b6f577960be56a9a0e77 (patch) | |
| tree | dbc651cfa9360ef00e9f598e3b6d29c637740d27 | |
| parent | 09949b83d23ea608a5f693706f2997ca7660600f (diff) | |
| download | emacs-386987aa50d6687068f3b6f577960be56a9a0e77.tar.gz emacs-386987aa50d6687068f3b6f577960be56a9a0e77.zip | |
(project-find-settings-file): Fix last change.
| -rw-r--r-- | lisp/files.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." | |||
| 3222 | (let* ((settings (locate-dominating-file file project-settings-file)) | 3222 | (let* ((settings (locate-dominating-file file project-settings-file)) |
| 3223 | (pda nil)) | 3223 | (pda nil)) |
| 3224 | ;; `locate-dominating-file' may have abbreviated the name. | 3224 | ;; `locate-dominating-file' may have abbreviated the name. |
| 3225 | (if settings (setq settings (expand-file-name ".dir-settings.el" settings))) | 3225 | (if settings |
| 3226 | (setq settings (expand-file-name project-settings-file settings))) | ||
| 3226 | (dolist (x project-directory-alist) | 3227 | (dolist (x project-directory-alist) |
| 3227 | (when (and (eq t (compare-strings file nil (length (car x)) | 3228 | (when (and (eq t (compare-strings file nil (length (car x)) |
| 3228 | (car x) nil nil)) | 3229 | (car x) nil nil)) |