]> git.eshelyaron.com Git - emacs.git/commit
Allow customization of the user's eln-cache directory
authorEli Zaretskii <eliz@gnu.org>
Thu, 10 Feb 2022 08:34:29 +0000 (10:34 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 10 Feb 2022 08:34:29 +0000 (10:34 +0200)
commitd3c47011d5ace1e1c3fca830d3ff71d9c693ed5d
tree32525b8338e0417efdf149d75d96d033558b5b28
parent35bf8d4a025baa8da2affa3cff5a0f426889096f
Allow customization of the user's eln-cache directory

* lisp/startup.el (startup-redirect-eln-cache)
(startup--update-eln-cache): New functions.
(startup--original-eln-load-path): New defvar.
(normal-top-level): Record the original value of
'native-comp-eln-load-path' in 'startup--original-eln-load-path'.
Do not amend 'native-comp-eln-load-path' here, as that could
overwrite user customizations.
(command-line): Amend 'native-comp-eln-load-path' after loading
the early-init file, and then again after loading the user init
file.  (Bug#53891)

* etc/NEWS: Announce 'startup-redirect-eln-cache'.
etc/NEWS
lisp/startup.el