From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#37538: [PATCH] Add docstring for `tags-complete-tags-table-file'. Date: Sat, 28 Sep 2019 00:59:21 -0700 Message-ID: <36bef08c-45b5-9cce-5374-d4de4260d39a@topbug.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="248118"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 To: 37538@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 28 10:00:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iE7eF-0012RV-RD for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Sep 2019 10:00:11 +0200 Original-Received: from localhost ([::1]:59450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iE7eE-00062r-MJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Sep 2019 04:00:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33626) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iE7e7-00062e-T1 for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 04:00:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iE7e6-0002yL-QC for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 04:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iE7e6-0002xB-MQ for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 04:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iE7e6-0005DU-IS for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 04:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Sep 2019 08:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37538 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.156965758019995 (code B ref -1); Sat, 28 Sep 2019 08:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Sep 2019 07:59:40 +0000 Original-Received: from localhost ([127.0.0.1]:48972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iE7dk-0005CQ-BH for submit@debbugs.gnu.org; Sat, 28 Sep 2019 03:59:40 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iE7di-0005CJ-Q1 for submit@debbugs.gnu.org; Sat, 28 Sep 2019 03:59:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33605) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iE7dh-0005zB-Km for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 03:59:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iE7dg-0002Vt-Kn for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 03:59:37 -0400 Original-Received: from sender4-of-o55.zoho.com ([136.143.188.55]:21564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iE7dg-0002PF-Bl for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 03:59:36 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1569657566; cv=none; d=zoho.com; s=zohoarc; b=SJgjQLapVtpJC/fgbDkQL/zgKQA9Wv1MO5cdt6NklCjzX/mjT3x7A+mZpZgJyQ9xJcBlHwKlRE+ZBAEipfvyT48d0eSj0WTMn1BsLC/7wGC4pSmAo5Tpk772KGHKPp22tla3o+e6xM7xapXRPu3esA82LeZaWtIKCWNHNSukECw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569657566; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=APAmURZ0GB/qodrcjrZ4lBXP+Gkr21yDBOEqtSw55Tg=; b=W9IS3LAmuJLQx/xgnOsiWkhUlIBLDAmvl9csK/X9VRYHCB0aTu/GgEV1qD2QcMh5MH5IBvpHZTqRLOb5JjQTvNEZqoRn9860sVLTQL861WXxPttrbLWUL0sDnGHNF/77HBsTH4V2Ntf1Rol+XVRipyQTMsyWwPiLwvv4t1dLLho= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=topbug.net; spf=pass smtp.mailfrom=hong@topbug.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1569657566; s=zoho; d=topbug.net; i=hong@topbug.net; h=To:From:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1118; bh=APAmURZ0GB/qodrcjrZ4lBXP+Gkr21yDBOEqtSw55Tg=; b=T5tRvWnMhYyNXn9/NER/rwPtHFQjz5bSfX3QDZqZnKx+HOB5sDPBVIDpLxqBiOxu fjGiOaAkoPRhqGgHUi3aa546RwxOeiPH2RLl8C5WpEvj95UM+0uMifcfE2fv9NVh9f7 H4nLSfFcRtat8EX5I8VsQa/pa5EEyXqt/C95q+i0= Original-Received: from [192.168.88.88] (69-215-149-151.lightspeed.sntcca.sbcglobal.net [69.215.149.151]) by mx.zohomail.com with SMTPS id 1569657562694853.4909882464018; Sat, 28 Sep 2019 00:59:22 -0700 (PDT) Openpgp: preference=signencrypt Content-Language: en-US X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167461 Archived-At: * 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