From 6029e8ba4e20bc7e3820f347fcae6a54cdae6d91 Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Sat, 21 Jan 2023 11:12:54 +0100 Subject: [PATCH] File for custom-set-variables --- .emacs.d/init.el | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index ef7c03f..24167ac 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -9,10 +9,8 @@ (add-to-list 'load-path (expand-file-name "modules/" user-emacs-directory)) - - - - +(setq custom-file (expand-file-name "custom.el" user-emacs-directory)) +(load custom-file 'noerror) (set-face-attribute 'default nil :font "Iosevka Comfy" :height 140) (set-face-attribute 'variable-pitch nil :font "Iosevka" :height 140) @@ -60,24 +58,3 @@ (require 'tobmacs-languages) (require 'tobmacs-org) (require 'tobmacs-vc) - - - - - - -(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. - '(custom-safe-themes - '("183dfa34e360f5bc2ee4a6b3f4236e6664f4cfce40de1d43c984e0e8fc5b51ae" "92d350334df87fe61a682518ff214c773625c6d5ace8060d128adc550bc60c9b" default)) - '(package-selected-packages - '(dumb-jump dump-jump ef-themes avy electric-pair-mode electric-pair smartparens lsp-sourcekit lsp-mode swift-mode clj-refactor corfu magit projectile projectile-mode rainbow-delimiters parinfer-rust-mode cider modus-themes org-modern marginalia orderless vertico exec-path-from-shell use-package))) -(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. - )