emacs/doc
Eli Zaretskii 2f68cb3e05 Fix bugs with buffer-local tags tables
* lisp/progmodes/etags.el (visit-tags-table): After
'visit-tags-table-buffer' returns, retrieve the value of
'tags-file-name' from the buffer we started in.  Force
recomputation of 'tags-completion-table' next time it is used,
since the list of tags table has changed.
(visit-tags-table-buffer): Accept an additional optional argument
CBUF, the buffer in which to start processing, and switch to that
buffer if CBUF is non-nil.  All callers changed to supply a
non-nil CBUF when they call 'visit-tags-table-buffer' in a loop.
Doc fix.
(tags-completion-table): Accept an optional argument, the buffer
for which to build 'tags-completion-table', and build that
buffer's completion table.
(tags-lazy-completion-table): Pass the current buffer to
'tags-completion-table'.
(tags-file-name): Don't say in the doc string that setting this
variable directly is enough; say that 'visit-tags-table' should be
used for that.  (Bug#158)  (Bug#17326)  (Bug#23164)

* doc/emacs/maintaining.texi (Select Tags Table): Delete the
advice to set 'tags-file-name' directly.

* test/lisp/progmodes/etags-tests.el: New tests.
2016-12-01 18:49:51 +02:00
..
emacs Fix bugs with buffer-local tags tables 2016-12-01 18:49:51 +02:00
lispintro Fix references to long obsoleted functions/aliases 2016-11-04 12:51:04 -04:00
lispref Allow configuring which event throw-on-input should ignore (bug#19547). 2016-11-27 21:48:07 +01:00
man * src/emacs.c (usage_message): Mention named daemon. (Bug#24949) 2016-11-15 18:21:06 -05:00
misc Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00