From 9a36de0879277f5937601df0e3644ffda263b6e4 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:14:21 -0500 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9871882..be4b8a7 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ The author is using **[minimal-emacs.d](https://github.com/jamescherti/minimal-e - [How to enable the menu-bar, the tool-bar, dialogs, the contextual menu, and tooltips?](#how-to-enable-the-menu-bar-the-tool-bar-dialogs-the-contextual-menu-and-tooltips) - [Compile-Angel - Speed up Emacs by Automatically Byte-compiling and Native-compiling all .el files](#compile-angel---speed-up-emacs-by-automatically-byte-compiling-and-native-compiling-all-el-files) - [Reducing clutter in `~/.emacs.d` by redirecting files to `~/emacs.d/var/`](#reducing-clutter-in-emacsd-by-redirecting-files-to-emacsdvar) + - [How to prevent minimal-emacs.d from saving custom.el?](#how-to-prevent-minimal-emacsd-from-saving-customel) - [How to activate recentf, savehist, saveplace, and auto-revert?](#how-to-activate-recentf-savehist-saveplace-and-auto-revert) - [Optimization: Native Compilation](#optimization-native-compilation) - [How to configure vterm](#how-to-configure-vterm) @@ -153,6 +154,8 @@ However, an alternative lightweight approach is to simply change the default `~/ (setq user-emacs-directory minimal-emacs-var-dir) ``` +### How to prevent minimal-emacs.d from saving custom.el? + To prevent Emacs from saving customization information to a custom file, set `custom-file` to `null-device`: ``` emacs-lisp (setq custom-file null-device)