[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (control u)(control c)
From: |
Eli Zaretskii |
Subject: |
Re: (control u)(control c) |
Date: |
Fri, 19 Aug 2022 13:49:33 +0300 |
> Date: Fri, 19 Aug 2022 11:09:08 +0200
> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
>
> Hi,
>
> have a command bound to
>
> (global-set-key [(control c)(d)] 'mycommand)
>
> which I tried to rebind onto
>
> (global-set-key [(control u)(control c)(d)] 'mycommand)
>
> Get
>
> Debugger entered--Lisp error: (error "Key sequence C-u C-c d starts with
> non-prefix key C-u")
>
>
> Any solution?
Yes, don't use C-u in the sequence. C-u is the prefix argument, so if
you want to repurpose is (I don't recommend that), you'd need to
unbind it first.