[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18022: 24.3; Emacs hard locks when attempting to do a replacement wi
From: |
Stefan Monnier |
Subject: |
bug#18022: 24.3; Emacs hard locks when attempting to do a replacement with ^M in it. |
Date: |
Sat, 04 Oct 2014 18:31:20 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
>> === modified file 'src/syntax.c'
>> *** src/syntax.c 2014-07-09 23:39:58 +0000
>> --- src/syntax.c 2014-07-23 18:26:45 +0000
>> ***************
>> *** 825,831 ****
>> {
>> from = comment_end;
>> from_byte = comment_end_byte;
>> ! UPDATE_SYNTAX_TABLE_FORWARD (comment_end - 1);
>> }
>> /* If comstart_pos is set and we get here (ie. didn't jump to `lossage'
>> or `done'), then we've found the beginning of the non-nested comment. */
>> --- 825,831 ----
>> {
>> from = comment_end;
>> from_byte = comment_end_byte;
>> ! UPDATE_SYNTAX_TABLE_FORWARD (comment_end);
>> }
>> /* If comstart_pos is set and we get here (ie. didn't jump to `lossage'
>> or `done'), then we've found the beginning of the non-nested comment. */
This looks right, sorry for the delay,
Stefan