From ede533e7927a4933659c427e536692d74cb2224a Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Thu, 9 Jan 2025 20:53:30 +0100 Subject: [PATCH] Use load-file option for custom file and notes iso manual check --- init.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/init.el b/init.el index fa74166..3d52422 100644 --- a/init.el +++ b/init.el @@ -12,9 +12,6 @@ (when (file-readable-p my-config-file) (org-babel-load-file (expand-file-name my-config-file))) - (when (file-readable-p custom-file) - (load custom-file)) - - (when (file-readable-p notes-config-file) - (load notes-config-file)) + (load notes-config-file :no-error-if-file-is-missing) + (load custom-file :no-error-if-file-is-missing) )