Function: tags-recognize-empty-tags-table
tags-recognize-empty-tags-table is a byte-compiled function defined in
etags.el.gz.
Signature
(tags-recognize-empty-tags-table)
Documentation
Return non-nil if current buffer is empty.
If empty, make buffer-local values of the tags table format variables that do nothing.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
;; Empty tags file support.
(defun tags-recognize-empty-tags-table ()
"Return non-nil if current buffer is empty.
If empty, make buffer-local values of the tags table format variables
that do nothing."
(when (zerop (buffer-size))
(setq-local tags-table-files-function #'ignore)
(setq-local tags-completion-table-function #'ignore)
(setq-local find-tag-regexp-search-function #'ignore)
(setq-local find-tag-search-function #'ignore)
(setq-local tags-apropos-function #'ignore)
(setq-local tags-included-tables-function #'ignore)
(setq-local verify-tags-table-function
(lambda () (zerop (buffer-size))))))