From: Mattias EngdegÄrd Date: Sun, 6 Nov 2022 14:59:58 +0000 (+0100) Subject: ; * lisp/emacs-lisp/package.el (package-load-all-descriptors): Use \` X-Git-Tag: emacs-29.0.90~1616^2~256 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e46f6804892ad67a5fbfd096da568d86f0a4a2f8;p=emacs.git ; * lisp/emacs-lisp/package.el (package-load-all-descriptors): Use \` --- 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))))))