.emacs-my
changeset 422 021017e52754
parent 421 44d516f2badd
child 423 d1f5db3f7f06
--- a/.emacs-my	Sun Jul 25 11:13:20 2010 +0300
+++ b/.emacs-my	Sun Jul 25 11:18:14 2010 +0300
@@ -939,6 +939,15 @@
   )
 
 ;; ----------------------------------------------------------------------
+;; CEDET, semantic.
+
+(when (or (and (= emacs-major-version 23) (= emacs-minor-version 2))
+          (>= emacs-minor-version 24))
+  (semantic-mode 1)
+  (global-semantic-idle-summary-mode 1)
+  )
+
+;; ----------------------------------------------------------------------
 ;; windows inf files for driver installing
 
 (add-to-list 'auto-mode-alist '("\\.inf\\'" . conf-mode))
@@ -1061,11 +1070,6 @@
 ;; (add-to-list 'load-path (expand-file-name "~/emacs/site/eieio"))
 ;; (add-to-list 'load-path (expand-file-name "~/emacs/site/jde-2.3.5.1/lisp"))
 
-;; Load CEDET
-;; (load-file "~/emacs/site/common/cedet.el")
-;; Enabling SEMANTIC minor modes.  See semantic/INSTALL for more ideas.
-;; (semantic-load-enable-code-helpers)
-
 ;; If you want Emacs to defer loading the JDE until you open a
 ;; Java file, edit the following line
 ;; (setq defer-loading-jde nil)