* lisp/cedet/ede/detect.el (ede--detect-ldf-root-predicate): Make sure
updir is not nil before trying to detect it.
Copyright-paperwork-exempt: yes
;; If it didn't change, then obviously this must be the top.
t
;; If it is different, check updir for the file.
- (not (ede-auto-detect-in-dir ede--detect-nomatch-auto updir))))))
+ (or (null updir)
+ (not (ede-auto-detect-in-dir ede--detect-nomatch-auto updir)))))))
(defun ede--detect-scan-directory-for-project-root (directory auto)
"If DIRECTORY has already been detected with AUTO, find the root.