help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Is it obvious that string-match syntax matching is affected by the c


From: Tom
Subject: Re: Is it obvious that string-match syntax matching is affected by the current buffer?
Date: Sun, 13 Mar 2016 16:56:23 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:
> 
> string-match here is called from inside a let, so the settings there 
> prevail.

Obviously, it was for my test only.

But that doesn't change my point that if there is no let then 
string-match uses the current buffer's syntax table which may
cause an unintended side effect, making the result of string-match
dependent on the current buffer.

reply via email to

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