all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 14197@debbugs.gnu.org
Subject: bug#14197: 24.3.50; remove `kmacro-bind-to-key' prefix arg
Date: Sun, 09 Feb 2014 22:50:28 -0800	[thread overview]
Message-ID: <87r47b4g23.fsf@building.gnus.org> (raw)
In-Reply-To: <0C43974007EE4479B08BB73DF71A884B@us.oracle.com> (Drew Adams's message of "Fri, 12 Apr 2013 17:51:33 -0700")

"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	other threads:[~2014-02-10  6:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r47b4g23.fsf@building.gnus.org \
    --to=larsi@gnus.org \
    --cc=14197@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.