X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/8f1d2ef658f95549eb33fe5265f8f11c5129bece..3ccc1742ba32bf118c15d19b639032fbf503fcea:/lisp/cedet/semantic.el diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index c899988dc3..34d886b680 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el @@ -379,9 +379,7 @@ Do not set this yourself. Call `semantic-debug'.") (defun semantic-elapsed-time (start end) "Copied from elp.el. Was `elp-elapsed-time'. Argument START and END bound the time being calculated." - (+ (* (- (car end) (car start)) 65536.0) - (- (car (cdr end)) (car (cdr start))) - (/ (- (car (cdr (cdr end))) (car (cdr (cdr start)))) 1000000.0))) + (float-time (time-subtract end start))) (defun bovinate (&optional clear) "Parse the current buffer. Show output in a temp buffer. @@ -1057,8 +1055,10 @@ The possible elements of this list include the following: ;;;###autoload (define-minor-mode semantic-mode - "Toggle Semantic mode. -With ARG, turn Semantic mode on if ARG is positive, off otherwise. + "Toggle parser features (Semantic mode). +With a prefix argument ARG, enable Semantic mode if ARG is +positive, and disable it otherwise. If called from Lisp, enable +Semantic mode if ARG is omitted or nil. In Semantic mode, Emacs parses the buffers you visit for their semantic content. This information is used by a variety of