[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10940: Emacs 24: regression reading comma

From: Chong Yidong
Subject: bug#10940: Emacs 24: regression reading comma
Date: Mon, 05 Mar 2012 11:13:53 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> In Emacs 23, the lisp reader correctly parses a comma when reading an
>> event modifier, as in the following example specifying the character
>> C-,
>>     (global-set-key [(control ,)] 'my-command)
> You did not realize, but the above relies on the old-style backquote
> syntax, which has been further phased out (it's been obsolete for a very
> long time now).  So now (control ,) fails in the same way as (control
> ').  Use [(control ?,)] or [(control \,)] instead (which will work for
> older emacsen as well).

I've added a note to etc/NEWS about this.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]