bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63757: 29.0.91 order of package paths changed: random old versions o


From: Eli Zaretskii
Subject: bug#63757: 29.0.91 order of package paths changed: random old versions of packages in load-path
Date: Sun, 04 Jun 2023 15:19:19 +0300

> From: Philip Kaludercic <philipk@posteo.net>
> Cc: artscan@list.ru,  monnier@iro.umontreal.ca,  63757@debbugs.gnu.org
> Date: Sun, 04 Jun 2023 12:12:16 +0000
> 
> I'm sorry, that was the wrong patch -.-
> 
> diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
> index de5108430aa..fdc09a939be 100644
> --- a/lisp/emacs-lisp/package.el
> +++ b/lisp/emacs-lisp/package.el
> @@ -739,7 +739,7 @@ package-load-all-descriptors
>  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))))))
>  
> (I attached the *vc-diff* buffer, but before sending the message I
> invoked vc-diff again which modified the buffer contents.  Should have
> just copied the diff manually...)

Thanks, now it at least makes sense.

But why does it matter whether the package directory names are sorted
or not?  Is sorting package versions the same as sorting the names of
their directories?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]