From fa8135f8916d6d0beaa945cc28689060f52a1ecf Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Sun, 4 Jun 2023 15:21:04 +0200 Subject: [PATCH] Revert changes to the order in which package descs are loaded * lisp/emacs-lisp/package.el (package-load-all-descriptors): Remove NOSORT argument to 'directory-files', reverting back to the behaviour as of Emacs 28. (Bug#63757) --- lisp/emacs-lisp/package.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 8f266186d5e..43368b59522 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -739,7 +739,7 @@ description file containing a call to `define-package', which updates `package-alist'." (dolist (dir (cons package-user-dir package-directory-list)) (when (file-directory-p dir) - (dolist (pkg-dir (directory-files dir t "\\`[^.]" t)) + (dolist (pkg-dir (directory-files dir t "\\`[^.]")) (when (file-directory-p pkg-dir) (package-load-descriptor pkg-dir)))))) -- 2.39.2