.emacs-my
changeset 1093 d79cf68c97e2
parent 1090 1ceec47cf341
child 1094 5cff783d79a3
--- a/.emacs-my	Fri Oct 25 18:38:53 2013 +0300
+++ b/.emacs-my	Tue Nov 12 16:14:02 2013 +0200
@@ -2223,10 +2223,15 @@
     (local-set-key "." 'semantic-complete-self-insert)
     (local-set-key ">" 'semantic-complete-self-insert))
   (add-hook 'c-mode-common-hook 'my-c-mode-cedet-hook)
-
-  ;; (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)
+  )
+
+(ignore-errors (require 'semantic/ia))
+(when (featurep 'semantic/ia)
+  (define-key semantic-mode-map (kbd "C-c , .") 'semantic-ia-fast-jump)
+  (define-key semantic-mode-map (kbd "C-c , d") 'semantic-ia-show-doc)
+  (define-key semantic-mode-map (kbd "C-c , D") 'semantic-ia-show-summary)
+  (define-key semantic-mode-map (kbd "C-c , ?") 'semantic-ia-complete-symbol-menu)
+  ;; (define-key semantic-mode-map (kbd "C-c , C") 'semantic-ia-describe-class)
   ;; (global-set-key (kbd "C-c , c") 'semantic-ia-complete-symbol-menu)
   )