bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14197: 24.3.50; remove `kmacro-bind-to-key' prefix arg


From: Lars Ingebrigtsen
Subject: bug#14197: 24.3.50; remove `kmacro-bind-to-key' prefix arg
Date: Sun, 09 Feb 2014 22:50:28 -0800
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

> `kmacro-bind-to-key' has _ARG as a required argument.  Interactively
> it is the numeric prefix argument.
>
> Presumably this is an internal argument, based on the name.
> But it is used nowhere in the code, AFAICT - not in
> `kmacro-bind-to-key' or in any other code delivered with Emacs.
>
> If it is really useless, as it seems, then remove it, including from
> `interactive'.  (Or if it is really useful somehow, describe it in the doc
> string.)

The ARGs aren't used, as far as I can see.  And since the doc strings
don't automatically say that _arg is unused, I've added this.

But perhaps the docstring stuff should say this automatically for _arg
parameters?

-----------

kmacro-cycle-ring-next is an interactive compiled Lisp function in
`kmacro.el'.

It is bound to C-x C-k C-n.

(kmacro-cycle-ring-next &optional ARG)

Move to next keyboard macro in keyboard macro ring.
Displays the selected macro in the echo area.

[back]


-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]