avoid recursive `require' when loading semantic
authorRobin Templeton <robin@terpri.org>
Sun, 17 Aug 2014 23:13:55 +0000 (19:13 -0400)
committerRobin Templeton <robin@terpri.org>
Mon, 20 Apr 2015 04:29:03 +0000 (00:29 -0400)
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)