You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1045,15 +1045,15 @@ It is also recommended to read the following articles:
1045
1045
1046
1046
## Customizations: pre-early-init.el
1047
1047
1048
-
### Reducing clutter in `~/.emacs.d` by redirecting files to `~/emacs.d/var/`
1048
+
### Reducing clutter in `~/.emacs.d` by redirecting files to `~/.emacs.d/var/`
1049
1049
1050
1050
Emacs, by default, stores various configuration files, caches, backups, and other data in the `~/.emacs.d` directory. Over time, this directory can become cluttered with numerous files, making it difficult to manage and maintain.
1051
1051
1052
1052
A common solution to this issue is installing the no-littering package; however, this package is not essential.
1053
1053
1054
1054
An alternative lightweight approach is to simply change the default `~/.emacs.d` directory to `~/.emacs.d/var/`, which will contain all the files that Emacs typically stores in the base directory. This can be accomplished by adding the following code to `~/.emacs.d/pre-early-init.el`:
1055
1055
```emacs-lisp
1056
-
;; Reducing clutter in ~/.emacs.d by redirecting files to ~/emacs.d/var/
1056
+
;; Reducing clutter in ~/.emacs.d by redirecting files to ~/.emacs.d/var/
1057
1057
;; IMPORTANT: This part should be in the pre-early-init.el file
0 commit comments