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

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

bug#39436: 27.0.60; Documentaion error for package-menu-hide-package


From: Eli Zaretskii
Subject: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
Date: Sun, 09 Feb 2020 18:50:52 +0200

> From: Pieter van Oostrum <address@hidden>
> Cc: address@hidden
> Date: Sun, 09 Feb 2020 17:08:08 +0100
> 
> * lisp/emacs-lisp/package.el (package-menu-mode-menu): Correct default
> regexp, so it only selects the package at point.
> (Bug#39436)
> ---
>  lisp/emacs-lisp/package.el | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
> index 64d2001646..b652dc9d6e 100644
> --- a/lisp/emacs-lisp/package.el
> +++ b/lisp/emacs-lisp/package.el
> @@ -3195,7 +3195,8 @@ package-menu-hide-package
>    (declare (interactive-only "change `package-hidden-regexps' instead."))
>    (let* ((name (when (derived-mode-p 'package-menu-mode)
>                   (concat "\\`" (regexp-quote (symbol-name (package-desc-name
> -                                                           
> (tabulated-list-get-id)))))))
> +                                                           
> (tabulated-list-get-id))))
> +                         "\\'")))
>           (re (read-string "Hide packages matching regexp: " name)))
>      ;; Test if it is valid.
>      (string-match re "")

Thanks!

Does anyone see a reason why this change could be unsafe on the
emacs-27 branch?





reply via email to

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