Function: tags--get-current-buffer-name-in-tags-file
tags--get-current-buffer-name-in-tags-file is a byte-compiled function
defined in etags.el.gz.
Signature
(tags--get-current-buffer-name-in-tags-file)
Documentation
Get the file name that the current buffer corresponds in the tags file.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
(defun tags--get-current-buffer-name-in-tags-file ()
"Get the file name that the current buffer corresponds in the tags file."
(let ((tag-dir
(save-excursion
(visit-tags-table-buffer)
(file-name-directory (buffer-file-name)))))
(file-relative-name (buffer-file-name) tag-dir)))