Enable GNU Global for Semantic.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 15 Sep 2010 09:41:20 +0300
changeset 472 8cd8246b5c5f
parent 470 f859726fcca9
child 473 1334dc79ea80
Enable GNU Global for Semantic.
.emacs-my
--- a/.emacs-my	Tue Sep 14 17:18:05 2010 +0300
+++ b/.emacs-my	Wed Sep 15 09:41:20 2010 +0300
@@ -1060,9 +1060,12 @@
       )
     (when (cedet-gnu-global-version-check t)
       (add-to-list 'ede-locate-setup-options 'ede-locate-global)
+      (semanticdb-enable-gnu-global-databases 'c-mode)
+      (semanticdb-enable-gnu-global-databases 'c++-mode)
       )
     )
 
+  (require 'semantic-ia)
   (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump)
   (global-set-key (kbd "C-c , d") 'semantic-ia-show-doc)
   (global-set-key (kbd "C-c , D") 'semantic-ia-describe-class)