Subject: bug#61184: 29.0.60; keymap-local-set and keymap-global-set became less strict

From: Daniel Mendler <[email-masked]>
Date: Tue, 31 Jan 2023 13:49:11 +0100

On 1/31/23 13:10, Eli Zaretskii wrote:
>> Cc: Lars Ingebrigtsen <[email-masked]>, Robert Pluim <[email-masked]>,
>>  Stefan Monnier <[email-masked]>
>> Date: Mon, 30 Jan 2023 21:52:54 +0100
>> From: Daniel Mendler <[email-masked]>
>>
>> In patch f67a9a12b7b0cdd6030cb080a6d6838255789a08, the commands
>> keymap-local-set and keymap-global-set became less strict for
>> non-interactive use, which is not the intended the design.
> 
> Please tell more about that, because I don't yet see how that commit
> made the non-interactive (and only non-interactive) invocations check
> the argument less strictly.

The function became less strict since it also accepts vector arguments
now. The intended design by Lars was to only accept strings, and only
strings which are valid according to `key-valid-p'.

Daniel