From a6743d3f6db6b6a897b3de4eb5c4ccd5ecfa4715 Mon Sep 17 00:00:00 2001 From: LLoyderino Date: Sat, 31 May 2025 23:22:37 +0200 Subject: Use Emacs' built-in function for storing emacs-custom.el --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index c67cdd0..aafe329 100644 --- a/init.el +++ b/init.el @@ -1,6 +1,6 @@ ;; Please no custom file -(setq custom-file "~/.emacs.d/emacs-custom.el") -(load custom-file) +(setq custom-file (locate-user-emacs-file "emacs-custom.el") +(load custom-file 'noerror 'nomessage) ;; Start maximized (add-to-list 'default-frame-alist '(fullscreen . maximized)) -- cgit v1.3.1