summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2008-05-20 03:15:16 +0000
committerMichael Olson <mwolson@gnu.org>2008-05-20 03:15:16 +0000
commit360a13492ad3432dd921af3142cde39033ce4d09 (patch)
tree923f9460a23332cd26cada06a6632594cb61b4e1 /lisp/files.el
parent40a69fac46d1c66275912ed98beb4b34a64164bb (diff)
downloademacs-360a13492ad3432dd921af3142cde39033ce4d09.tar.gz
files.el (project-find-settings-file): Change concat to expand-file-name.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 35c21b19da5..ee5efe45627 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3127,8 +3127,8 @@ Otherwise this returns nil."
((setq result (assoc dir project-directory-alist))
;; Nothing else.
nil)
- ((file-exists-p (concat dir ".dir-settings.el"))
- (setq result (concat dir ".dir-settings.el")))
+ ((file-exists-p (expand-file-name ".dir-settings.el" dir))
+ (setq result (expand-file-name ".dir-settings.el" dir)))
(t
(setq dir (file-name-directory (directory-file-name dir))))))
result))