all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 32970@debbugs.gnu.org
Subject: bug#32970: 26; doc string of `this-command-keys-vector' (minor)
Date: Sun, 7 Oct 2018 15:00:14 +0000 (UTC)	[thread overview]
Message-ID: <d8f6576e-5465-4ef4-8775-2a19cb393403@default> (raw)

Doc string:

  this-command-keys-vector is a built-in function in 'C source code'.

  (this-command-keys-vector)

  Return the key sequence that invoked this command, as a vector.
  However, if the command has called 'read-key-sequence', it returns
  the last key sequence that has been read.

  See also 'this-command-keys'.
  This function does not change global state, including the match data.

It would be clearer, I think, if the order of the last two sentences
were reversed.  And perhaps they should not even be in the same
paragraph.  The current order can lead to thinking that "this function"
means `this-command-keys', and that it is only `this-command-keys', not
also `this-command-keys-vector', that does not change global state.

In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)
 of 2018-05-30
Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea
Windowing system distributor `Microsoft Corp.', version 10.0.16299
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





             reply	other threads:[~2018-10-07 15:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-07 15:00 Drew Adams [this message]
2019-07-11 15:55 ` bug#32970: 26; doc string of `this-command-keys-vector' (minor) Lars Ingebrigtsen
2019-07-11 17:11   ` Drew Adams

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=d8f6576e-5465-4ef4-8775-2a19cb393403@default \
    --to=drew.adams@oracle.com \
    --cc=32970@debbugs.gnu.org \
    /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.