當我通過自定義的M-x customize-face
菜單臉和更改保存到磁盤時,Emacs增加了自動生成的代碼,以我的.emacs
文件看起來像這樣:.emacs中的多個自定義設置面和自定義設置變量?
(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.
;
;; SOME CODE
;
)
其中SOME CODE
是一樣的東西:
'(diredp-dir-priv ((t (:foreground "cyan"))))
現在,假設我想手動更改爲SOME CODE
,並可能添加更多代碼來修改其他面。將這些更改保留在custom-set-faces
區塊下是否明智?或者我應該將其移動到不同的塊(以避免Emacs變得困惑)
另外,Emacs會弄糊塗嗎我有多個(custom-set-faces ...)
塊? (同樣的問題對於(custom-set-variables ...)