From 31e4eda22b98bd685bf47aed92c732af66a5cd7b Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Fri, 15 Aug 2025 11:51:47 -0400 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 59f286b..8fba03b 100644 --- a/README.md +++ b/README.md @@ -232,7 +232,7 @@ Native compilation enhances Emacs performance by converting Elisp code into nati ``` (A non-nil result indicates that native compilation is active.) -2. Ensure all libraries are byte-compiled and native-compiled using [compile-angel.el](https://github.com/jamescherti/compile-angel.el). To install compile-angel, add the following code at the very beginning of your `~/.emacs.d/post-init.el` file, before all other packages: +2. Ensure all libraries are byte-compiled and native-compiled using [compile-angel.el](https://github.com/jamescherti/compile-angel.el). To install compile-angel, add the following code to the `~/.emacs.d/post-init.el` file: ```emacs-lisp ;; Native compilation enhances Emacs performance by converting Elisp code into ;; native machine code, resulting in faster execution and improved @@ -242,7 +242,6 @@ Native compilation enhances Emacs performance by converting Elisp code into nati ;; of your `~/.emacs.d/post-init.el` file, before all other packages. (use-package compile-angel :ensure t - :demand t :custom ;; Set `compile-angel-verbose` to nil to suppress output from compile-angel. ;; Drawback: The minibuffer will not display compile-angel's actions. @@ -265,7 +264,9 @@ Native compilation enhances Emacs performance by converting Elisp code into nati ;; A local mode that compiles .el files whenever the user saves them. ;; (add-hook 'emacs-lisp-mode-hook #'compile-angel-on-save-local-mode) - ;; A global mode that compiles .el files before they are loaded. + ;; A global mode that compiles .el files prior to loading them via `load' or + ;; `require'. Additionally, it compiles all packages that were loaded before + ;; the mode `compile-angel-on-load-mode' was activated. (compile-angel-on-load-mode)) ```