]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/cedet/semantic/elp.el (semantic-elp-idle-work): Require semantic/idle.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 5 Sep 2009 01:06:46 +0000 (01:06 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 5 Sep 2009 01:06:46 +0000 (01:06 +0000)
lisp/cedet/semantic/elp.el

index 87fe2936b95736e716768cd215c676db638f898a..a9f8354fd07f0b63a497ce2e8a0459d68676f581 100644 (file)
@@ -36,6 +36,9 @@
 (require 'semantic/analyze)
 (require 'semantic/analyze/complete)
 
+(declare-function semantic-idle-scheduler-work-parse-neighboring-files
+                 "semantic/idle")
+
 ;;; Code:
 (defvar semantic-elp-emacs-core-list
   '(
@@ -644,6 +647,7 @@ Argument NAME is the name to give the ELP data object."
 (defun semantic-elp-idle-work ()
   "Run the idle work scheduler, using ELP to measure performance."
   (interactive)
+  (require 'semantic/idle)
   (let ((elp-recycle-buffers-p nil)
        (totalstart nil)
        (totalstop nil)