From 41b43ae4b5cf42ab1cac6ee961f2d15cfb32a068 Mon Sep 17 00:00:00 2001 From: Philippe Vaucher Date: Sun, 19 Nov 2023 10:49:17 +0100 Subject: [PATCH] Stop handling seq-25 loading bug with Emacs 29.1 Eldev 1.8 handles that --- Eldev | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Eldev b/Eldev index 83c83a6..85dd07e 100644 --- a/Eldev +++ b/Eldev @@ -3,14 +3,5 @@ (eldev-use-package-archive 'melpa) (eldev-use-package-archive 'gnu-elpa) -;; Fix bug with Emacs 29.1 (see https://github.com/emacs-eldev/eldev/issues/93) -(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))) - -(when (string-match-p (regexp-quote "29.1") (emacs-version)) - (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)))