在我的 .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?