summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el4
-rwxr-xr-xemacs.org5
2 files changed, 9 insertions, 0 deletions
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