[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 8276605efb: ; * lisp/keymap.el (key-valid-p): Fix wording of
From: |
Eli Zaretskii |
Subject: |
Re: master 8276605efb: ; * lisp/keymap.el (key-valid-p): Fix wording of doc string. |
Date: |
Tue, 04 Jan 2022 16:57:16 +0200 |
> From: Robert Pluim <rpluim@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>
> Date: Tue, 04 Jan 2022 14:25:32 +0100
>
> Eli> -The key strokes are separated by a space character.
> Eli> +The key strokes are separated by space characters.
>
> This is ambiguous now.
>
> ELISP> (key-valid-p "a")
> t
> ELISP> (key-valid-p "a b")
> t
> ELISP> (key-valid-p "a b")
> nil
>
> Either we say 'single spaces', or we set OMIT-NULLS to t in the call
> to `split-string' inside `key-valid-p'.
Feel free to improve ambiguous wording, no discussion is needed.
Thanks.