Subject: Re: bug#21443: 24.5; etags' complete-tag changes the global value of tags-file-name

From: Eli Zaretskii <[email-masked]>
Date: Fri, 11 Sep 2015 07:56:44 +0300

> Cc: [email-masked]
> From: Dmitry Gutov <[email-masked]>
> Date: Fri, 11 Sep 2015 03:30:48 +0300
> 
> On 09/10/2015 10:06 PM, Eli Zaretskii wrote:
> 
> > you are supposed to invoke visit-tags-table manually with a numeric
> > argument, if you want the local value of tags-file-name set.
> 
> Some users prefer to set tags-table-name programmatically.
> 
> It appears the problem is that etags--xref-find-definitions calls 
> visit-tags-table-buffer unconditionally, and the latter doesn't honor 
> the buffer-local value of this variable.

The OP was talking about Emacs 24.5; there's no xref there AFAIK.