From 4c6a64dbe5f8a7ebea69eb8c587b30cd8d070d22 Mon Sep 17 00:00:00 2001 From: Ilkka Laukkanen Date: Thu, 12 Jun 2014 10:54:01 +0300 Subject: [PATCH 1/2] Add note about .emacs.d Windows path At least on my Windows 7 machine, `user-emacs-directory` prints `~/.emacs.d`, which is not really useful, since you also then have to realize that the tilde refers to the roaming appdata directory. I think this way of documenting would perhaps be more immediately useful. For probably almost all other platforms the tilde path will work just fine. --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index c6e45de..b56201b 100644 --- a/README.md +++ b/README.md @@ -131,9 +131,7 @@ ln -s path/to/local/repo ~/.emacs.d cd ~/.emacs.d ``` -You'd do well to replace `~/.emacs.d` with the value of -`user-emacs-directory` for your OS. You can check the value by doing -`C-h v user-emacs-directory` inside Emacs. +Note that on Windows, the `.emacs.d` directory is usually located at `C:\Users\your_user_name\AppData\Roaming\.emacs.d`, and you should adjust the command appropriately. ## Updating Prelude From 30e5256a39a4d273155e4a3e0a25041891bdaa4d Mon Sep 17 00:00:00 2001 From: Ilkka Laukkanen Date: Mon, 16 Jun 2014 09:27:53 +0300 Subject: [PATCH 2/2] Add instructions for getting homedir path This should work for all versions of Windows. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b56201b..5248c46 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ ln -s path/to/local/repo ~/.emacs.d cd ~/.emacs.d ``` -Note that on Windows, the `.emacs.d` directory is usually located at `C:\Users\your_user_name\AppData\Roaming\.emacs.d`, and you should adjust the command appropriately. +If you are using Windows, you should check what Emacs thinks the `~` directory is by running Emacs and typing `C-x d ~/`, and then adjust the command appropriately. ## Updating Prelude