Update README.md
This commit is contained in:
@@ -145,6 +145,8 @@ An alternative lightweight approach is to simply change the default `~/.emacs.d`
|
|||||||
(setq user-emacs-directory minimal-emacs-var-dir)
|
(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?
|
### 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`:
|
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`:
|
||||||
|
|||||||
Reference in New Issue
Block a user