Update README.md

This commit is contained in:
James Cherti
2025-03-02 14:27:13 -05:00
parent b10686726e
commit 1cf0685906

View File

@@ -145,6 +145,8 @@ An alternative lightweight approach is to simply change the default `~/.emacs.d`
(setq user-emacs-directory minimal-emacs-var-dir)
```
IMPORTANT: The code above should be added to `~/.emacs.d/pre-early-init.el`, not the other files, as it modifies the behavior of all subsequent init files.
### 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` by adding to the following to `~/.emacs.d/post-init.el`: