Skip to content

Commit

Permalink
fixes for double elc compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraveiro committed Mar 2, 2024
1 parent ff75457 commit 5f12f03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions doc/notes_and_comments.org
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down

0 comments on commit 5f12f03

Please sign in to comment.