From 69010af86e84d20710cea13e5b70365248c19314 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Fri, 20 Sep 2024 18:35:15 +0200 Subject: [PATCH] INIT: Fix config file name for myrmi/{visit,reload}-config --- init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 4a3164f..bd22fe2 100644 --- a/init.el +++ b/init.el @@ -5,11 +5,10 @@ ;;; ... (let ((gc-cons-threshold most-positive-fixnum)) ;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch. - (defvar config-file (expand-file-name "config_new.org" user-emacs-directory)) - ;;(defvar project-file (expand-file-name "project.org" user-emacs-directory)) + (defvar my-config-file (expand-file-name "config_new.org" user-emacs-directory)) - (when (file-readable-p config-file) - (org-babel-load-file (expand-file-name config-file))) + (when (file-readable-p my-config-file) + (org-babel-load-file (expand-file-name my-config-file))) ;; If it exists, load some project-specific configurations. ;;(when (file-readable-p project-file)