Set path to lockfile to prevent needing to use a hard link.

Michael Fiano 7 months ago
parent 830d71cb66
commit 973ffef840
Signed by: mfiano
GPG Key ID: F87DF4666D70FC63
  1. 2

@ -50,6 +50,7 @@
;; For the rest of the Emacs configuration, set this directory to something
;; inside the standard cache directory, so we do not pollute our emacs.d
;; directory with files that we would then have to ignore with Git.
(defvar mf/config-dir user-emacs-directory)
(setq user-emacs-directory
(expand-file-name "emacs/" (or (getenv "XDG_CACHE_HOME") "~/.cache/")))
@ -73,6 +74,7 @@
(setq package-enable-at-startup nil)
(setq package-quickstart nil)
(setq straight-check-for-modifications '(check-on-save find-when-checking))
(setq straight-profiles `((nil . ,(expand-file-name "lockfile" mf/config-dir))))
;; Bootstrap the straight.el package manager if it is not already installed,
;; then unconditionally load it. We use this rather than Emacs' built-in package