avoid recursive `require' when loading semantic
[bpt/emacs.git] / lisp / cedet / semantic.el
index 5fc51e0..57bb822 100644 (file)
@@ -1202,7 +1202,8 @@ Call `semantic-symref-hits-in-region' to identify local references." t nil)
 
 ;; Semantic-util is a part of the semantic API.  Include it last
 ;; because it depends on semantic.
-(require 'semantic/util)
+(eval-after-load 'semantic
+  '(require 'semantic/util))
 
 ;; (require 'semantic/load)