Subject: bug#79335: [PATCH] Make 'lua-prefix-key' option a 'key-sequence'

From: john muhl <[email-masked]>
Date: Thu, 28 Aug 2025 18:53:23 -0500

Michael Albinus <[email-masked]> writes:

> This breaks test-custom-opts:
>
>    FAILED  check-for-wrong-custom-opts  ((should (null (cus-test-opts t))) :form (null ((lua-prefix-key :type-error 3 (string)))) :value nil)
>
>
> Likely, lua-prefix-key needs
>
>   :type '(choice (const nil) string)
>
> But I don't know whether this is intended.

The problem is that there are cases where it is being set to an
integer. I’ve change the defcustom to use the key-sequence type
now and fixed the test. Patch incoming.