Skip to content

Commit

Permalink
Test bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Silex committed Nov 10, 2023
1 parent 61bb3ac commit 1d8f0e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Eldev
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@
(eldev-use-package-archive 'melpa)
(eldev-use-package-archive 'gnu-elpa)

(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)

(with-eval-after-load 'bytecomp
(setf byte-compile-warnings '(not docstrings)))

0 comments on commit 1d8f0e9

Please sign in to comment.