Emacs: Run straight-thaw-versions after straight-pull-all.
Resets packages to the version specified in the lockfile.
This commit is contained in:
parent
27e25bcbe3
commit
d9b2ef65fa
|
@ -64,7 +64,10 @@
|
|||
(file-attributes (straight--build-dir))))))
|
||||
(when (> (- (time-to-seconds) mtime-seconds)
|
||||
(* 60 60 24 days))
|
||||
(my/straight-update-repos)))))
|
||||
(my/straight-update-repos))))
|
||||
|
||||
;; Reset frozen packages. I use the lockfile to work around bugs.
|
||||
(advice-add #'straight-pull-all :after #'straight-thaw-versions))
|
||||
:hook ((emacs-startup . my/straight-check-last-update)
|
||||
((after-init . straight-prune-build))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user