diff options
| author | Hong Xu | 2019-10-07 06:13:27 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-07 06:13:27 +0200 |
| commit | cfbd1255c21ed28df8facc9b0f9ff257d70505c4 (patch) | |
| tree | c4a0353debd87d69a8bc68e5aee9a4266ea1b1d4 | |
| parent | 273dd6542d96e09f90308187bac341ebaa0c770d (diff) | |
| download | emacs-cfbd1255c21ed28df8facc9b0f9ff257d70505c4.tar.gz emacs-cfbd1255c21ed28df8facc9b0f9ff257d70505c4.zip | |
tags-complete-tags-table-file doc string fix
* lisp/progmodes/etags.el (tags-complete-tags-table-file): Doc
string fix (bug#37538).
| -rw-r--r-- | lisp/progmodes/etags.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 5edced5080e..c40422dbc5c 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1843,13 +1843,18 @@ For non-interactive use, superceded by `fileloop-initialize-replace'." | |||
| 1843 | delimited) | 1843 | delimited) |
| 1844 | (fileloop-continue)) | 1844 | (fileloop-continue)) |
| 1845 | 1845 | ||
| 1846 | (defun tags-complete-tags-table-file (string predicate what) ; Doc string? | 1846 | (defun tags-complete-tags-table-file (string predicate what) |
| 1847 | "Complete STRING from file names in the current tags table. | ||
| 1848 | The meaning of the arguments are the same as the function form of | ||
| 1849 | COLLECTION as explained in Info node `(elisp) Programmed | ||
| 1850 | Completion', except that if WHAT does not equal t, it is treated | ||
| 1851 | as if it were nil." | ||
| 1847 | (save-excursion | 1852 | (save-excursion |
| 1848 | ;; If we need to ask for the tag table, allow that. | 1853 | ;; If we need to ask for the tag table, allow that. |
| 1849 | (let ((enable-recursive-minibuffers t)) | 1854 | (let ((enable-recursive-minibuffers t)) |
| 1850 | (visit-tags-table-buffer)) | 1855 | (visit-tags-table-buffer)) |
| 1851 | (if (eq what t) | 1856 | (if (eq what t) |
| 1852 | (all-completions string (tags-table-files) predicate) | 1857 | (all-completions string (tags-table-files) predicate) |
| 1853 | (try-completion string (tags-table-files) predicate)))) | 1858 | (try-completion string (tags-table-files) predicate)))) |
| 1854 | 1859 | ||
| 1855 | (defun tags--get-current-buffer-name-in-tags-file () | 1860 | (defun tags--get-current-buffer-name-in-tags-file () |