emacs: move Custom declarations to custom-file

This commit is contained in:
Jeremy Baxter 2024-07-19 10:04:12 +12:00
parent 3986f2a803
commit 0b142907e6

View file

@ -215,20 +215,9 @@
(set-face-attribute 'font-lock-comment-face t :slant 'italic) (set-face-attribute 'font-lock-comment-face t :slant 'italic)
(set-face-attribute 'font-lock-keyword-face t :slant 'italic) (set-face-attribute 'font-lock-keyword-face t :slant 'italic)
(custom-set-faces ;; custom
;; custom-set-faces was added by Custom. (setq custom-file "~/.emacs.d/custom.el")
;; If you edit it by hand, you could mess it up, so be careful. (load custom-file)
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-button ((t (:background "#181825" :foreground "white" :box (:line-width (1 . 1) :color "#11111b" :style flat-button)))))
'(custom-button-mouse ((t (:background "#11111b" :foreground "white"))))
'(custom-button-pressed ((t (:inherit custom-button-mouse :box (:line-width (1 . 1) :color "#11111b")))))
'(help-key-binding ((t (:inherit fixed-pitch :background "#181825" :foreground "#89b4fa" :box (:line-width (-1 . -1) :color "#11111b")))))
'(info-menu-star ((t nil)))
'(info-xref ((t (:inherit link :background "#181825" :foreground "#cdd6f4"))))
'(link ((t (:foreground "#89b4fa" :underline t))))
'(widget-field ((t (:extend t :background "#181825" :box (:line-width (1 . 1) :color "#11111b"))))))
(custom-set-variables)
;; catppuccin theme ;; catppuccin theme
(package-install 'catppuccin-theme) (package-install 'catppuccin-theme)