From 5f12f034edff86b1a7689cafabc3011d2d4c078e Mon Sep 17 00:00:00 2001 From: Marco Craveiro Date: Sat, 2 Mar 2024 10:21:33 +0000 Subject: [PATCH] fixes for double elc compilation --- .gitignore | 1 + doc/notes_and_comments.org | 2 ++ init.el | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d9e19b7f..2ed22114 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ server config/*.el config/*.elc vendor/*.elc +site-lisp/*.elc # files we can't find out who is creating .emacs-buffers diff --git a/doc/notes_and_comments.org b/doc/notes_and_comments.org index b976b795..af839b9d 100644 --- a/doc/notes_and_comments.org +++ b/doc/notes_and_comments.org @@ -43,6 +43,8 @@ Problems: - [[https://xenodium.com/emacs-quick-kill-process/][Emacs: quickly killing processes]] - [[https://www.n16f.net/blog/making-ielm-more-comfortable/][Making IELM More Comfortable]] - [[https://kristofferbalintona.me/posts/202202211546/][Vertico, Marginalia, All-the-icons-completion, and Orderless]] +- [[https://github.com/alphapapa/emacs-package-dev-handbook][The Emacs Package Developer’s Handbook]] +- [[https://github.com/AbstProcDo/Master-Emacs-From-Scratch-with-Solid-Procedures][Master Emacs From Scratch with Solid Procedures]] * References :properties: diff --git a/init.el b/init.el index 565cd5d3..cb0b2b84 100644 --- a/init.el +++ b/init.el @@ -130,12 +130,12 @@ ORG-FILE-NAME file to operate on." (put 'display-line-numbers-width 'safe-local-variable 'integerp) ;; Tangle and compile if necessary only, then load the configuration - (let ((org-files (cunene/files-for-extension cunene/org-config ".org"))) + (let ((org-files (cunene/files-for-extension cunene/org-config ".org$"))) (dolist (org-file org-files) (cunene/tangle-and-load-file org-file))) ;; Load site-specific lisp code, if any exists. - (let ((site-files (cunene/files-for-extension cunene/site-lisp ".el"))) + (let ((site-files (cunene/files-for-extension cunene/site-lisp ".el$"))) (dolist (el-file site-files) (cunene/compile-and-load-file el-file)))