[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Define-key doc string - binding changes always if it exists
From: |
Stefan Monnier |
Subject: |
Re: Define-key doc string - binding changes always if it exists |
Date: |
Fri, 12 Aug 2005 03:19:20 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
> (DEFN should be a valid definition in its own right),
> or a cons (MAP . CHAR), meaning use definition of CHAR in keymap MAP.
> -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. */)
> +If KEYMAP is a sparse keymap and there is no binding for KEY, the new
> +pair binding KEY to DEF is added at the front of KEYMAP. */)
The behavior should be the same with sparse maps as for dense maps,
at least from the function's user point of view, so the docstring shouldn't
need to distinguish.
Instead of the above patch, I'd remove the word "sparse".
Dense maps also use pairs (KEY . DEF) for non-char keys.
Stefan