equal
deleted
inserted
replaced
939 ) |
939 ) |
940 |
940 |
941 ;; ---------------------------------------------------------------------- |
941 ;; ---------------------------------------------------------------------- |
942 ;; CEDET, semantic. |
942 ;; CEDET, semantic. |
943 |
943 |
|
944 ;; For debug use 'semantic-debug-idle-function' and 'semantic-debug-idle-work-function'. |
944 (when (or (and (= emacs-major-version 23) (= emacs-minor-version 2)) |
945 (when (or (and (= emacs-major-version 23) (= emacs-minor-version 2)) |
945 (>= emacs-minor-version 24)) |
946 (>= emacs-minor-version 24)) |
946 (semantic-mode 1) |
947 (semantic-mode 1) |
947 (global-semantic-idle-summary-mode 1) |
948 (global-semantic-idle-summary-mode 1) |
|
949 (global-semantic-idle-scheduler-mode 1) |
|
950 (setq semantic-idle-scheduler-idle-time 5) ; 1 sec. |
|
951 (global-semanticdb-minor-mode 1) |
|
952 (global-semantic-decoration-mode 1) |
|
953 (global-semantic-mru-bookmark-mode 1) |
|
954 ;; (global-semantic-idle-completions-mode -1) |
|
955 ;; (global-semantic-stickyfunc-mode 1) |
|
956 ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package)) |
|
957 |
|
958 ;; (semantic-add-system-include "~/include" 'c++-mode) |
|
959 ;; (semantic-add-system-include "~/include" 'c-mode) |
948 ) |
960 ) |
949 |
961 |
950 ;; ---------------------------------------------------------------------- |
962 ;; ---------------------------------------------------------------------- |
951 ;; windows inf files for driver installing |
963 ;; windows inf files for driver installing |
952 |
964 |