GNU bug report logs - #22813
24.5; doc string of `apropos-variable' - mention C-u

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 26 Feb 2016 05:18:02 UTC

Severity: minor

Found in version 24.5

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

Bug is archived. No further changes may be made.

Full log


Message #23 received at 22813 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kaushal Modi <kaushal.modi <at> gmail.com>
Cc: 22813 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: Re: 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 <at> gmail.com>
> Date: Fri, 26 Feb 2016 09:52:34 -0500
> Cc: 22813 <at> 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.




This bug report was last modified 9 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.