[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: storing elpa packages in different folder
From: |
Eli Zaretskii |
Subject: |
Re: storing elpa packages in different folder |
Date: |
Mon, 09 May 2022 22:19:12 +0300 |
> From: Sivaram Neelakantan <nsivaram.net@gmail.com>
> Date: Tue, 10 May 2022 00:30:05 +0530
>
>
> GNU Emacs 27.2 (build 1, x86_64-w64-mingw32) of 2021-03-26
>
> I'm tryng to make all the packages to be installed in the following
> directory
>
> (setq user-emacs-directory "c:/gnu/initfiles/.emacs.d/") ;; in ~/.Emacs
>
> but Emacs doesn't put it there but in C:\Users\siva\AppData\Roaming
>
> what should I set to make it store where I want it?
>
> getenv APPDATA points to the Roaming folder
> getenv LOCALAPPDATA is C:\Users\siva\AppData\Local
The easiest way is to set the HOME environment variable to point to
c:/gnu/initfiles/.emacs.d/. Do this system-wide (via the Properties
of your computer), and your problem will be solved.