当我通过菜单自定义面部M-x customize-face
并将更改保存到磁盘时,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 ...)