From e46f6804892ad67a5fbfd096da568d86f0a4a2f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sun, 6 Nov 2022 15:59:58 +0100 Subject: [PATCH] ; * lisp/emacs-lisp/package.el (package-load-all-descriptors): Use \` --- 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 27324f2b9b4..a7bcdd214cb 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -741,7 +741,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 "\\`[^.]" t)) (when (file-directory-p pkg-dir) (package-load-descriptor pkg-dir)))))) -- 2.39.2