Timeline for What is an eln-cache and how do I get rid of it?
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 25, 2024 at 3:38 | comment | added | Alan Pearce | There's a built-in function in Emacs 29 to do the (setcar native-comp-eln-load-path "/path/to/some/dir") part: (startup-redirect-eln-cache "/path/to/some/dir"). Also, Emacs has an XDG library, so a more correct way to do what you specifically wanted would be (require 'xdg) (startup-redirect-eln-cache (expand-file-name "emacs/elpa" (xdg-cache-home))) (the value of $XDG_CACHE_HOME should be checked before using ~/.cache) | |
| Dec 2, 2023 at 10:44 | history | answered | Mattias Bengtsson | CC BY-SA 4.0 |