bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37538: [PATCH] Add docstring for `tags-complete-tags-table-file'.


From: Hong Xu
Subject: bug#37538: [PATCH] Add docstring for `tags-complete-tags-table-file'.
Date: Sat, 28 Sep 2019 00:59:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

* lisp/progmodes/etags.el (tags-complete-tags-table-file): Add docstring.
---
 lisp/progmodes/etags.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index a03516100087..398a315e3725 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1843,13 +1843,17 @@ tags-query-replace
    delimited)
   (fileloop-continue))
-(defun tags-complete-tags-table-file (string predicate what) ; Doc string?
+(defun tags-complete-tags-table-file (string predicate what)
+  "Complete file names in the current tags table.
+The meaning of the arguments are the same as the function form of
+COLLECTION as explained in Info node `(elisp) Programmed
+Completion'."
   (save-excursion
     ;; If we need to ask for the tag table, allow that.
     (let ((enable-recursive-minibuffers t))
       (visit-tags-table-buffer))
     (if (eq what t)
-       (all-completions string (tags-table-files) predicate)
+        (all-completions string (tags-table-files) predicate)
       (try-completion string (tags-table-files) predicate))))
;;;###autoload
--
2.20.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]