2010-05-26 74 views
2

GNU Emacs的选择颜色主题23.1.1 Fedora 13的在的.emacs配置

我可以通过

M-x color-theme-select

我向下滚动选择的颜色主题,然后选择

clarity and beauty

这工作正常。但是,在我的配置中,我不确定如何选择此选项。这是我的,但不起作用。

(require 'color-theme) 
(color-theme-ClarityandBeauty) 

非常感谢您的任何建议,

回答

4

M-x color-theme-cl<Tab>显示我的名字是color-theme-clarity,这意味着你应该在你的.emacs有这样的:

(color-theme-clarity) 
+0

您好,我需要在颜色主题清晰之前添加此行。 (颜色主题初始化)。谢谢。问题解决了。 – ant2009 2010-05-26 16:42:28

6

这是我的配置有(来自color-themedocumentation):

(add-to-list 'load-path "C:/opt/elisp/color-theme") ;; The path to color-theme.el 
(require 'color-theme) 
(eval-after-load "color-theme" 
    '(progn 
    (color-theme-initialize) 
    (color-theme-subtle-hacker))) ;; This is the theme you want to use.