From a0250312753fa4a31e1861561570d56c6843aa39 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 11 Mar 2020 03:05:12 +0100 Subject: [PATCH] Clarify package-menu-hide-package docstring * lisp/emacs-lisp/package.el (package-menu-hide-package): Clarify in docstring that hiding is saved in a user option. (Bug#39436) --- lisp/emacs-lisp/package.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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'." (interactive) (package--ensure-package-menu-mode) (declare (interactive-only "change `package-hidden-regexps' instead.")) -- 2.25.1