summaryrefslogtreecommitdiff
path: root/lisp/cedet/ede/detect.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/ede/detect.el')
-rw-r--r--lisp/cedet/ede/detect.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/cedet/ede/detect.el b/lisp/cedet/ede/detect.el
index 5b708ae436e..2b5086a1c5a 100644
--- a/lisp/cedet/ede/detect.el
+++ b/lisp/cedet/ede/detect.el
@@ -195,11 +195,10 @@ Return a cons cell:
"Run a quick test for autodetecting on BUFFER."
(interactive)
(let ((start (current-time))
- (ans (ede-detect-directory-for-project default-directory))
- (end (current-time)))
+ (ans (ede-detect-directory-for-project default-directory)))
(if ans
(message "Project found in %d sec @ %s of type %s"
- (float-time (time-subtract end start))
+ (float-time (time-subtract nil start))
(car ans)
(eieio-object-name-string (cdr ans)))
(message "No Project found.") )))