[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: etags doesn't respect buffer local tags-file-name
From: |
Gerd Moellmann |
Subject: |
Re: etags doesn't respect buffer local tags-file-name |
Date: |
15 Jan 2001 17:38:27 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.96 |
matt@corp.phone.com writes:
> This bug report will be sent to the Free Software Foundation,
> C-u M-. always uses the global value of `tags-file-name' even if a
> buffer local value is set.
>
> I never set the global value for the tags buffer, preferring to set
> the local value in c-mode-common-hook. So C-u M-. is broken for me.
>
> find-tag-noselect sets the current buffer to the TAGS buffer. Then
> the `tags-file-name' var is referenced via find-tag-noselect ->
> find-tag-in-order -> visit-tags-table-buffer. So the global instead
> of buffer local value is used for C-u M-.
>
> My fix to etags.el just sets `tags-file-name' from `tags-file-name'
> before switching to the TAGS buffer.
Thanks for the fix.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: etags doesn't respect buffer local tags-file-name,
Gerd Moellmann <=