在我的.emacs文件中,我有以下内容:
(add-to-list 'load-path (expand-file-name "emacs/site/jde/lisp"))
(add-to-list 'load-path (expand-file-name "emacs/site/cedet/common"))
(add-to-list 'load-path (expand-file-name "emacs/site/cedet/semantic"))
(add-to-list 'load-path (expand-file-name "emacs/site/cedet/speedbar"))
(add-to-list 'load-path (expand-file-name "emacs/site/cedet/eieio"))
(setq jde-check-version-flag nil)
(load-file (expand-file-name "emacs/site/cedet/common/cedet.el"))
(add-to-list 'load-path (expand-file-name "emacs/site/elib"))
(require 'jde)
(add-to-list 'load-path "~/elisp")
(add-to-list 'load-path "~/elisp/color-theme")
(require 'color-theme)
(color-theme-initialize)
(color-theme-clarity)
上半部分运行JDEE,下半部分提供了清晰的颜色主题。我的问题是,当我使用JDEE时,Java文本的颜色会恢复到应用颜色主题之前的颜色。这是个问题,因为默认的颜色太糟糕了,而我希望无论如何都能应用我的颜色主题。有没有办法让颜色主题优先于JDEE?