[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master acb8e33: Don't but out on ~/.git files in ede
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master acb8e33: Don't but out on ~/.git files in ede |
Date: |
Fri, 2 Aug 2019 16:04:46 -0400 (EDT) |
branch: master
commit acb8e331ca1e6914d8c158a6f387e84ce08c4f3b
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Don't but out on ~/.git files in ede
* lisp/cedet/ede/detect.el (ede--detect-ldf-root-predicate): Make
this work with ~/ as the dir (bug#19521).
---
lisp/cedet/ede/detect.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/cedet/ede/detect.el b/lisp/cedet/ede/detect.el
index 3dfb848..d65abce 100644
--- a/lisp/cedet/ede/detect.el
+++ b/lisp/cedet/ede/detect.el
@@ -135,6 +135,8 @@ Return a cons cell:
(defun ede--detect-ldf-root-predicate (dir)
"Non-nil if DIR no longer match `ede--detect-nomatch-auto'."
+ ;; `dir' may be "~/".
+ (setq dir (expand-file-name dir))
(or (ede--detect-stop-scan-p dir)
;; To know if DIR is at the top, we need to look just above
;; to see if there is a match.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master acb8e33: Don't but out on ~/.git files in ede,
Lars Ingebrigtsen <=