GNU bug report logs -
#39436
27.0.60; Documentation error for package-menu-hide-package
Previous Next
Full log
View this message in rfc822 format
> From: Pieter van Oostrum <pieter-l <at> vanoostrum.org>
> Cc: 39436 <at> debbugs.gnu.org
> 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?
This bug report was last modified 5 years and 133 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.