GNU bug report logs - #39436
27.0.60; Documentation error for package-menu-hide-package

Previous Next

Package: emacs;

Reported by: Pieter van Oostrum <pieter <at> vanoostrum.org>

Date: Wed, 5 Feb 2020 15:12:01 UTC

Severity: normal

Found in version 27.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pieter van Oostrum <pieter-l <at> vanoostrum.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: pieter <at> vanoostrum.org, Eli Zaretskii <eliz <at> gnu.org>, 39436 <at> debbugs.gnu.org
Subject: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package)
Date: Wed, 11 Mar 2020 08:36:53 +0100
Stefan Kangas <stefan <at> marxist.se> writes:

> diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
> index 43eb038a86..7dbb99684f 100644
> --- a/lisp/emacs-lisp/package.el
> +++ b/lisp/emacs-lisp/package.el
> @@ -3190,8 +3190,11 @@ 'package-menu-refresh
>  
>  (defun package-menu-hide-package ()
>    "Hide in Package Menu packages that match a regexp.
> -Prompts for the regexp to match against package names.
> -The default regexp will hide only the package whose name is at point."
> +Prompt for the regexp to match against package names.
> +The default regexp will hide only the package whose name is at point.
> +
> +The regexp is saved for future Emacs sessions in the user option
> +`package-hidden-regexps'."

This could be interpreted that only this regexp is saved. In reality it is the collective list of the regexps that have been entered in this way, that is saved, until the option is cleared/changed.

So it would be better to say something like
The collected regexps are saved...
-- 
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]




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.