changeset 104448:872396c919ad

lisp/cedet/semantic/elp.el (semantic-elp-idle-work): Require semantic/idle.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 05 Sep 2009 01:06:46 +0000
parents 273e528a9f9b
children 217c6a8e8420
files lisp/cedet/semantic/elp.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cedet/semantic/elp.el	Sat Sep 05 01:00:36 2009 +0000
+++ b/lisp/cedet/semantic/elp.el	Sat Sep 05 01:06:46 2009 +0000
@@ -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 @@
 (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)