Skip to content

Commit

Permalink
Link from workarount to corresponding emacs bug
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Nov 9, 2023
1 parent 0fec996 commit 3dc9b7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lisp/init-elpa.el
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ advice for `require-package', to which ARGS are passed."
;; reinstalled via the rg -> transient dependency chain, but fails to
;; reload cleanly due to not finding seq-25.el, breaking first-time
;; start-up
;; See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67025
(defun sanityinc/reload-previously-loaded-with-load-path-updated (orig pkg-desc)
(let ((load-path (cons (package-desc-dir pkg-desc) load-path)))
(funcall orig pkg-desc)))

(advice-add 'package--reload-previously-loaded :around
'sanityinc/reload-previously-loaded-with-load-path-updated)



(when (fboundp 'package--save-selected-packages)
Expand Down

0 comments on commit 3dc9b7b

Please sign in to comment.