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).
This commit is contained in:
parent
44d02d366b
commit
acb8e331ca
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue