Subject: bug#10033: 24.0.91; Uncommenting fails in Autoconf mode

From: Chong Yidong <[email-masked]>
Date: Tue, 15 Nov 2011 13:29:08 +0800

Andreas Schwab <[email-masked]> writes:

> Chong Yidong <[email-masked]> writes:
>
>> This is because the value of comment-start-skip in Autoconf mode is
>>
>>    "\\(?:\\<dnl\\|#\\) +"
>>
>> The \< is intended to avoid matching a "dnl" that is part of a word.
>
> dnl isn't a word, it is a comment, so \< cannot match it.

Yet syntax-propertize-function for Autoconf uses

  (set (make-local-variable 'syntax-propertize-function)
       (syntax-propertize-rules ("\\<dnl\\>" (0 "<"))))

which does work for matching only occurrences of `dnl' as separate
tokens.