]> git.eshelyaron.com Git - emacs.git/commit
Respect buffer-local value of tags-table-list (Bug#27772)
authorNoam Postavsky <npostavs@gmail.com>
Mon, 7 Aug 2017 01:35:04 +0000 (21:35 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 11 Aug 2017 01:30:37 +0000 (21:30 -0400)
commit179499cde921a28c82400b1674520da245b93bb9
tree4389c5b9ab18aa869b02aceb1c7b812291b64cfb
parent81656add8117e8d1b7faab18b330d0706462b433
Respect buffer-local value of tags-table-list (Bug#27772)

* lisp/progmodes/etags.el (visit-tags-table-buffer): Save the current
buffer around the `tags-table-including' calls so as to get buffer
local variables from the right buffer later.
* test/lisp/progmodes/etags-tests.el (etags-visit-tags-table-buffer):
New test.
* test/lisp/progmodes/etags-tests.el (etags-tests--test-dir): New
constant.
(etags-bug-158, etags-bug-23164): Use it so that when running the test
interactively, setting EMACS_TEST_DIRECTORY is not needed.
lisp/progmodes/etags.el
test/lisp/progmodes/etags-tests.el