From ff04a6672ee10d898b37e7f8b4bd9f8cd1a5323e Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sat, 17 Aug 2024 21:46:58 -0400 Subject: [PATCH] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 63a973e..e45d02f 100644 --- a/README.md +++ b/README.md @@ -122,10 +122,9 @@ One common solution to this issue is the installation of the no-littering packag However, 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`: ``` -(setq minimal-emacs-user-directory user-emacs-directory) (setq minimal-emacs-var-dir (expand-file-name "var/" minimal-emacs-user-directory)) -(setq package-user-dir (expand-file-name "elpa" minimal-emacs-var-dir)) +(setq package-user-dir (expand-file-name "elpa/" minimal-emacs-var-dir)) (setq user-emacs-directory minimal-emacs-var-dir) ```