From cabec724696cea45cce8ff85b0b80947bdc98dcf Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 23 Mar 2023 07:35:57 +0200 Subject: emacs: redo settings for custom.el --- .emacs.d/init.el | 4 ++++ emacs.org | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8c539f3..5dfc5d8 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -90,6 +90,10 @@ Contains the list of packages that need to be installed.") (unless (package-installed-p 'use-package) (package-install 'use-package)) +;; set and load custom.el +(setq custom-file (concat user-emacs-directory "custom.el")) +(load custom-file 'noerror) + (setq inhibit-startup-message nil) ;; Transparency (set-frame-parameter (selected-frame) 'alpha '(100 100)) diff --git a/emacs.org b/emacs.org index d0ffebc..f80f9ca 100755 --- a/emacs.org +++ b/emacs.org @@ -151,8 +151,13 @@ Set our ~package-archives~, and install our packages (unless (package-installed-p 'use-package) (package-install 'use-package)) + + ;; set and load custom.el + (setq custom-file (concat user-emacs-directory "custom.el")) + (load custom-file 'noerror) #+end_src + * UI Settings ** Basic UI Fonts and basic appearance settings -- cgit v1.2.3