]> git.eshelyaron.com Git - emacs.git/commitdiff
tags-complete-tags-table-file doc string fix
authorHong Xu <hong@topbug.net>
Mon, 7 Oct 2019 04:13:27 +0000 (06:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Oct 2019 04:13:27 +0000 (06:13 +0200)
* lisp/progmodes/etags.el (tags-complete-tags-table-file): Doc
string fix (bug#37538).

lisp/progmodes/etags.el

index 5edced5080e26e7d78733694e58ec97dafb35a16..c40422dbc5c303a1d3660373732380db761264e1 100644 (file)
@@ -1843,13 +1843,18 @@ For non-interactive use, superceded by `fileloop-initialize-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 STRING from 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', except that if WHAT does not equal t, it is treated
+as if it were nil."
   (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))))
 
 (defun tags--get-current-buffer-name-in-tags-file ()