Set my path for headers.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 27 Aug 2010 12:24:21 +0300
changeset 443 8c5d0e026821
parent 442 bf31b8f54b4a
child 444 5f1cfffd6b67
child 450 53773da85b43
Set my path for headers.
.emacs-my
--- a/.emacs-my	Fri Aug 27 12:20:08 2010 +0300
+++ b/.emacs-my	Fri Aug 27 12:24:21 2010 +0300
@@ -973,13 +973,17 @@
   (global-semantic-idle-summary-mode 1)
   (global-semantic-idle-scheduler-mode 1)
   (setq semantic-idle-scheduler-idle-time 1) ; 1 sec.
-  (global-semanticdb-minor-mode 1)
   (global-semantic-decoration-mode 1)
   (global-semantic-mru-bookmark-mode 1)
   ;; (global-semantic-idle-completions-mode -1)
   ;; (global-semantic-stickyfunc-mode 1)
   ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package))
 
+  (setq-mode-local c-mode semanticdb-find-default-throttle '(project unloaded system recursive))
+  (semantic-add-system-include "~/.emacs.d/include" 'c-mode)
+  (semantic-add-system-include "~/.emacs.d/include" 'c++-mode)
+  (global-semanticdb-minor-mode 1)
+
   ;; (semantic-add-system-include "~/include" 'c++-mode)
   ;; (semantic-add-system-include "~/include" 'c-mode)