Subject: Re: bug#38775: (kbd "C-x ( ... C-x )") gulps "C-x (" and "C-x )"

From: Andreas Schwab <[email-masked]>
Date: Sat, 28 Dec 2019 16:46:25 +0100

On Dez 28 2019, Kritixi Lithos wrote:

> From `emacs -Q`, I write `(kbd "C-x ( C-d C-x )")` in the buffer, then
> evaluate it using `C-M-x`, which gives "^D" instead of the expected
> "^X(^D^X)".

That's because kbd is just a wrapper around read-kbd-macro.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."