From 86ef126937f60649a4cffd9efb6263888cde8f42 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:43:03 -0400 Subject: [PATCH] Update README.md --- README.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/README.md b/README.md index b806bf4..a3d07aa 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ The author is using **[minimal-emacs.d](https://github.com/jamescherti/minimal-e - [How to customize early-init.el and init.el?](#how-to-customize-early-initel-and-initel) - [Reducing clutter in `~/.emacs.d` by redirecting files to `~/emacs.d/var/`](#reducing-clutter-in-emacsd-by-redirecting-files-to-emacsdvar) - [How to activate recentf, savehist, saveplace, and auto-revert?](#how-to-activate-recentf-savehist-saveplace-and-auto-revert) - - [Optimization: How to automatically compile Emacs Lisp code (auto-compile)](#optimization-how-to-automatically-compile-emacs-lisp-code-auto-compile) - [Optimization: Native Compilation](#optimization-native-compilation) - [Optimization: How to activate the Garbage Collector Magic Hack (gcmh-mode)](#optimization-how-to-activate-the-garbage-collector-magic-hack-gcmh-mode) - [How to configure vterm](#how-to-configure-vterm) @@ -186,22 +185,6 @@ The recentf, savehist, saveplace, and auto-revert built-in packages are already (add-hook 'after-init-hook #'save-place-mode) ``` -### Optimization: How to automatically compile Emacs Lisp code (auto-compile) - -The auto-compile package automates the byte-compilation of Emacs Lisp files, ensuring that your code runs more efficiently by converting it to byte-code. This process reduces the load time and execution time of your Emacs configuration and other Lisp files, leading to faster performance. Additionally, auto-compile helps maintain an up-to-date and optimized configuration by recompiling files automatically when they are saved, eliminating the need for manual compilation and minimizing potential issues caused by outdated byte-code. - -To activate auto-compile, add the following to the beginning of `~/.emacs.d/post-init.el`, before all other `use-package` statements: -``` emacs-lisp -(use-package auto-compile - :demand t - :custom - (auto-compile-check-parens nil) - (auto-compile-display-buffer nil) - :config - (auto-compile-on-load-mode) - (auto-compile-on-save-mode)) -``` - ### Optimization: Native Compilation Check if native compilation is enabled by evaluating `(native-comp-available-p)` in Emacs. If the result is non-nil, it indicates that native compilation is active.