[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22813: 24.5; doc string of `apropos-variable' - mention C-u
From: |
Eli Zaretskii |
Subject: |
bug#22813: 24.5; doc string of `apropos-variable' - mention C-u |
Date: |
Fri, 26 Feb 2016 17:41:37 +0200 |
> From: Kaushal Modi <kaushal.modi@gmail.com>
> Date: Fri, 26 Feb 2016 09:52:34 -0500
> Cc: 22813@debbugs.gnu.org
>
> I get the point now. How about this:
>
> diff --git a/lisp/apropos.el b/lisp/apropos.el
> index 3c1a413..a2bfee9 100644
> --- a/lisp/apropos.el
> +++ b/lisp/apropos.el
> @@ -505,7 +505,8 @@ apropos-user-option
> ;;;###autoload
> (defun apropos-variable (pattern &optional do-not-all)
> "Show variables that match PATTERN.
> -When DO-NOT-ALL is non-nil, show user options only, i.e. behave
> +With the optional argument DO-NOT-ALL non-nil (or when called interactively
> with
> +the prefix \\[universal-argument]), show user options only, i.e. behave
> like `apropos-user-option'."
> (interactive (list (apropos-read-pattern
> (if current-prefix-arg "user option" "variable"))
LGTM, thanks. However, the line you changed is too long now, so
please reformat the doc string to have shorter lines, before you push.