Subject: Re: bug#22107: 25.1; Wrong docstring for this-single-command-keys

From: Glenn Morris <[email-masked]>
Date: Mon, 07 Dec 2015 13:10:40 -0500

Artur Malabarba wrote:

> The docstring says:
>
> Unlike 'this-command-keys', this function's value
> does not include prefix arguments.
>
> However, the function 'this-command-keys' also does not seem to return
> prefix arguments.

When you find something like that, sadly your first thought should be
"someone's broken something" rather than "the doc is wrong".
It works as documented in 24.5 and earlier.

IMO the example from the Elisp manual is more informative:

    (this-command-keys)
    ;; Now use `C-u C-x C-e' to evaluate that.
      => "^U^X^E"