>      (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


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to