我自己在.emacs中加入了外观的设定,
可是它被customize的设置覆盖了,如何去想customize的设定?
谢谢
;; --------------------------------------------------------------------------
;; theme
;; --------------------------------------------------------------------------
;; cursor color
;; seems not working, add it at the bottom
(set-cursor-color "white")
;; mouse color
(set-mouse-color "white")
;; cursor type
;; (set-default 'cursor-type 'bar)
(setq-default cursor-type 'box)
;; fg & bg color
;; (set-foreground-color "#FDFF00")
;; (set-foreground-color "#00FF00")
(set-foreground-color "#CCCCCC")
(set-background-color "#343434")
;; highlight theme
(set-face-foreground 'highlight "white")
(set-face-background 'highlight "blue")
;; region theme
(set-face-foreground 'region "cyan")
(set-face-background 'region "blue")
;; secondary selection theme
(set-face-foreground 'secondary-selection "skyblue")
(set-face-background 'secondary-selection "darkblue")
;; calendar color
(setq calendar-load-hook
'(lambda ()
(set-face-foreground 'diary-face "skyblue")
(set-face-background 'holiday-face "slate blue")
(set-face-foreground 'holiday-face "white")))
;;-----------------------------------------------
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(TeX-math-close-double-dollar nil)
'(TeX-source-specials-mode nil)
'(cdlatex-paired-parens "$[{(")
'(column-number-mode t)
'(current-language-environment "Chinese-GBK")
'(display-time-mode t)
'(save-place t nil (saveplace))
'(show-paren-mode t)
'(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
'(uniquify-buffer-name-style (quote forward) nil (uniquify)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "#ffffff" :foreground "#1a1a1a" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 181 :width normal :foundry "unknown" :family "Droid Sans Mono")))))
如何把emacs的customize中的外观的选项取消
-
- 帖子: 362
- 注册时间: 2007-01-15 20:53
-
- 帖子: 57
- 注册时间: 2006-10-06 21:10
Re: 如何把emacs的customize中的外观的选项取消
最下面从 (custom-set-faces 开始的那几行删掉就可以了