diff options
author | Eli Zaretskii <eliz@gnu.org> | 2024-10-04 14:39:50 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-10-04 14:39:50 +0300 |
commit | e9dcf0c57ddea6a3ac3136e82cdb740326e735d4 (patch) | |
tree | dc5b8fc51b8278a90e355e9c6393abd2202398cb /lisp/emacs-lisp/checkdoc.el | |
parent | 51ef05f684c779b492965571cf9a169b93e86aa0 (diff) | |
download | emacs-e9dcf0c57ddea6a3ac3136e82cdb740326e735d4.tar.gz emacs-e9dcf0c57ddea6a3ac3136e82cdb740326e735d4.tar.bz2 emacs-e9dcf0c57ddea6a3ac3136e82cdb740326e735d4.zip |
Fix 'list-tags' when invoked from a non-file buffer
This use case was broken by the improvement that attempts to
offer the current buffer's file name as the default file whose
tags to list.
* lisp/progmodes/etags.el
(tags--get-current-buffer-name-in-tags-file): Doc fix. Return nil
if no file is associated with the current buffer, and avoid
signaling an error if 'buffer-file-name' returns nil. (Bug#37611)
(list-tags): Doc fix. Signal an error if the user specifies no
file name at the prompt.
* doc/emacs/maintaining.texi (List Identifiers): Fix wording of
the documentation of 'list-tags'.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
0 files changed, 0 insertions, 0 deletions