Emacs 的 Customize 系统并不是个可选功能,有些地方强制使用它,比如 package.el,还有些不少变量不知不觉就保存了下,如 Global Minor Mode。这两天 Emacs 用到一半突然 XX Mode 就自动开了,刚刚才意识到是 Customize 系统引起的。
(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.
'(basic-auto-number 10)
'(chunyang-display-mark-and-pos-mode nil)
'(custom-enabled-themes (quote (sanityinc-tomorrow-eighties)))
'(org-agenda-files (quote ("~/foo.org")))
'(package-selected-packages
...)
'(paradox-github-token t)
'(pdf-view-midnight-colors (quote ("#b2b2b2" . "#292b2e")))
'(safe-local-variable-values
...)
'(transient-mark-mode t))
(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.
'(org-checkbox ((t (:inherit org-todo)))))