[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7d3404d: ; Improve a doc string in etags.el
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 7d3404d: ; Improve a doc string in etags.el |
Date: |
Sat, 12 Oct 2019 14:57:05 -0400 (EDT) |
branch: master
commit 7d3404d34d02d867c98ff5e9250f5bcf518fd427
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
; Improve a doc string in etags.el
* lisp/progmodes/etags.el (tags-complete-tags-table-file):
Improve the doc string. (Bug#37538)
---
lisp/progmodes/etags.el | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 6784894..26590d8 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1851,10 +1851,15 @@ For non-interactive use, superceded by
`fileloop-initialize-replace'."
(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."
+PREDICATE, if non-nil, is a function to filter possible matches:
+if it returns nil, the match is ignored. If PREDICATE is nil,
+every possible match is acceptable.
+WHAT is a flag specifying the type of completion: t means `all-completions'
+operation, any other value means `try-completions' operation.
+
+This function serves as COLLECTION argument to `completing-read',
+see the Info node `(elisp) Programmed Completion' for more detailed
+description of the arguments."
(save-excursion
;; If we need to ask for the tag table, allow that.
(let ((enable-recursive-minibuffers t))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 7d3404d: ; Improve a doc string in etags.el,
Eli Zaretskii <=