projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d02d3
)
Don't but out on ~/.git files in ede
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 2 Aug 2019 20:04:38 +0000
(22:04 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 2 Aug 2019 20:04:38 +0000
(22:04 +0200)
* lisp/cedet/ede/detect.el (ede--detect-ldf-root-predicate): Make
this work with ~/ as the dir (bug#19521).
lisp/cedet/ede/detect.el
patch
|
blob
|
history
diff --git
a/lisp/cedet/ede/detect.el
b/lisp/cedet/ede/detect.el
index 3dfb84803b7ae6a3fc695eab0bef6e79c0820f4b..d65abce4b3cf137fdc48390cc317992e5a02fa38 100644
(file)
--- 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.