Enable GNU Global and GNU ID utils for EDE.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 14 Sep 2010 17:18:05 +0300
changeset 470 f859726fcca9
parent 469 a9adec4fbcbf
child 471 1d59b8a9d8a0
child 472 8cd8246b5c5f
Enable GNU Global and GNU ID utils for EDE.
.emacs-my
--- a/.emacs-my	Tue Sep 14 14:00:13 2010 +0300
+++ b/.emacs-my	Tue Sep 14 17:18:05 2010 +0300
@@ -1053,6 +1053,16 @@
   (require 'semanticdb)
   (global-semanticdb-minor-mode 1)
 
+  (unless (equal cedet-version "1.0pre7") ; Come with Emacs 23.2.
+    (require 'ede-locate)
+    (when (cedet-idutils-version-check t)
+      (add-to-list 'ede-locate-setup-options 'ede-locate-idutils)
+      )
+    (when (cedet-gnu-global-version-check t)
+      (add-to-list 'ede-locate-setup-options 'ede-locate-global)
+      )
+    )
+
   (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)