Subject: Re: bug#79323: 30.2; Control-X-prefix not remapable

From: Juri Linkov <[email-masked]>
Date: Sun, 31 Aug 2025 21:01:33 +0300

> I didn't check this, but could you do this instead? 
> (I use this form of define-keymap in other cases.)
>
> (defun tab-line--undefine-keys ()
>   "Uninstall key bindings previously bound by `tab-line--define-keys'."
>   (when tab-line-define-keys
>     (define-keymap :keymap ctl-x-map
>       [left] 'previous-buffer
>       [C-left] 'previous-buffer
>       [M-left] nil
>       [right] 'next-buffer
>       [C-right] 'next-buffer
>       [M-right] 'next-buffer)))

I tried :parent and :prefix without success, but completely
missed :keymap.  Thanks for pointing out the correct keyword.