Subject: Re: bug#1817: 23.0.60; C-x RET c RET RET signals an error

From: Glenn Morris <[email-masked]>
Date: Wed, 07 Jan 2009 13:44:48 -0500

merge 1205 1817
stop

Juri Linkov wrote:

> In response to the closed and archived bug#1205:

You can unarchive it, as I did prior to this.

>> +     (if (char-equal last-input-char ?\C-g)
>> +     (keyboard-quit))
>> +
>
> I just noticed that this fix in `universal-coding-system-argument'
> causes another bug.  It fails with the key sequence `C-x RET c RET RET'
> that signals an error:
>
> Debugger entered--Lisp error: (wrong-type-argument characterp return)
>   char-equal(return 7)

It's suprising (to me) that last-input-char might not be a character,
but just change `char-equal' to `equal'.