all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.rodgers@ihs.com>
Subject: Re: Docstring for define-key
Date: Wed, 19 Feb 2003 15:18:03 -0700	[thread overview]
Message-ID: <3E54029B.4090903@ihs.com> (raw)
In-Reply-To: 84adgsjkq0.fsf@lucy.is.informatik.uni-duisburg.de

Kai Großjohann wrote:

> When reading this, one could think that executing the same define-key
> statement multiple times makes the KEYMAP grow.  However, this is not
> the case.  Glancing at the code, I see that it seems to alter the old
> binding, if one is already present.  So one possibility to change it
> is like this:
> 
>     If KEYMAP is a sparse keymap with a binding for KEY, the existing
>     binding is altered.  If there is no binding for KEY, the new pair
>     binding KEY to DEF is added at the front of KEYMAP.
> 
> The wording is not very good, I think.

I think it's fine.  My only suggestion is to replace "altered" with "modified"

or "destructively modified".

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

  reply	other threads:[~2003-02-19 22:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19 16:31 Docstring for define-key Kai Großjohann
2003-02-19 22:18 ` Kevin Rodgers [this message]
2003-02-20 18:21 ` Richard Stallman
2003-02-20 19:58   ` Kai Großjohann
2003-02-21  7:39     ` Juanma Barranquero
2003-02-21 10:53       ` Kim F. Storm
2003-02-21 10:34         ` Juanma Barranquero
2003-02-22 17:53           ` Richard Stallman
2003-02-22 20:40             ` Stefan Monnier
2003-02-24 16:37               ` Richard Stallman
2003-02-21 14:36         ` Stefan Monnier
2003-02-21 16:38         ` Kai Großjohann

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=3E54029B.4090903@ihs.com \
    --to=kevin.rodgers@ihs.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.