From e6a1229e83c9c32b4549823317db69c04cbbd1f0 Mon Sep 17 00:00:00 2001 From: finga Date: Mon, 10 Mar 2025 17:46:33 +0100 Subject: [PATCH] init: Improve logging When generating the log messages when loading config files generate more realistic file names. --- .config/emacs/init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 2d154c2..b35952e 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -86,9 +86,9 @@ symbols, which are converted to strings, and suffixed with \".el\"." wl yaml)) -(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s" config-snippets config-snippet-path) +(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s.el" config-snippets config-snippet-path) (dolist (snippet config-snippets) - (message "snippet: %s" snippet) + (message "snippet: %s.el" snippet) (dolist (dir config-snippet-path) (message "dir: %s" dir) (let ((file-name (expand-file-name (concat dir (if (symbolp snippet) @@ -97,4 +97,4 @@ symbols, which are converted to strings, and suffixed with \".el\"." (message "loading file") (if (file-readable-p file-name) (load-file file-name) - (message "Config snippet not found: %s" snippet))))) + (message "Config snippet not found: %s.el" snippet)))))