unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14197: 24.3.50; remove `kmacro-bind-to-key' prefix arg
@ 2013-04-13  0:51 Drew Adams
  2014-02-10  6:50 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2013-04-13  0:51 UTC (permalink / raw)
  To: 14197

`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.)
 
In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2013-04-02 on ODIEONE
Bzr revision: 112212 cyd@gnu.org-20130402033331-sqegwhqh7u1o0ars
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14197: 24.3.50; remove `kmacro-bind-to-key' prefix arg
  2013-04-13  0:51 bug#14197: 24.3.50; remove `kmacro-bind-to-key' prefix arg Drew Adams
@ 2014-02-10  6:50 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-10  6:50 UTC (permalink / raw)
  To: Drew Adams; +Cc: 14197

"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/





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-10  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-13  0:51 bug#14197: 24.3.50; remove `kmacro-bind-to-key' prefix arg Drew Adams
2014-02-10  6:50 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).