Bastien <b...@gnu.org> writes:

> Hi Eric,
>
> Eric Abrahamsen <e...@ericabrahamsen.net> writes:
>
>> This was slightly mis-aligned in the source file, leading me to believe
>> it's just a nesting error. As it is, any template which *isn't using*
>> the not-in-file predicate is going to flag as acceptable for the current
>> context. I think it should just be:
>>
>> (when (and (eq (car rr) 'not-in-file)
>>         (buffer-file-name))
>>   (not (string-match (cdr rr) (buffer-file-name))))
>>
>> Testing indicates it works, am I missing anything?
>
> You are not!
>
> You just nailed down something quite not obvious.
>
> I applied the change in maint, thanks a lot for tracking this,

Oh good -- my pleasure!


Reply via email to