diff options
| author | Eli Zaretskii | 2021-09-10 15:02:41 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2021-09-10 15:02:41 +0300 |
| commit | f94b915e2f079eeaf3890bb08658f7c84dfc0773 (patch) | |
| tree | 304f9dba72b9b1d586e46426fe43f2f259f55a48 | |
| parent | b4158a75c0ae7d3318b958da8c75e0a07570effc (diff) | |
| download | emacs-f94b915e2f079eeaf3890bb08658f7c84dfc0773.tar.gz emacs-f94b915e2f079eeaf3890bb08658f7c84dfc0773.zip | |
Doc string followup to last change.
* lisp/progmodes/xref.el (xref-find-apropos): Mention
'tags-apropos-additional-actions' in the doc string.
* lisp/progmodes/etags.el (tags-apropos-additional-actions):
Mention 'xref-find-apropos' in the doc string.
| -rw-r--r-- | lisp/progmodes/etags.el | 7 | ||||
| -rw-r--r-- | lisp/progmodes/xref.el | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 7efa88546d6..cddf3ba0b98 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -158,11 +158,12 @@ Otherwise, `find-tag-default' is used." | |||
| 158 | :version "21.1") | 158 | :version "21.1") |
| 159 | 159 | ||
| 160 | (defcustom tags-apropos-additional-actions nil | 160 | (defcustom tags-apropos-additional-actions nil |
| 161 | "Specify additional actions for `tags-apropos'. | 161 | "Specify additional actions for `tags-apropos' and `xref-find-apropos'. |
| 162 | 162 | ||
| 163 | If non-nil, value should be a list of triples (TITLE FUNCTION | 163 | If non-nil, value should be a list of triples (TITLE FUNCTION |
| 164 | TO-SEARCH). For each triple, `tags-apropos' processes TO-SEARCH and | 164 | TO-SEARCH). For each triple, `tags-apropos' and `xref-find-apropos' |
| 165 | lists tags from it. TO-SEARCH should be an alist, obarray, or symbol. | 165 | process TO-SEARCH and list tags from it. TO-SEARCH should be an alist, |
| 166 | obarray, or symbol. | ||
| 166 | If it is a symbol, the symbol's value is used. | 167 | If it is a symbol, the symbol's value is used. |
| 167 | TITLE, a string, is a title used to label the additional list of tags. | 168 | TITLE, a string, is a title used to label the additional list of tags. |
| 168 | FUNCTION is a function to call when a symbol is selected in the | 169 | FUNCTION is a function to call when a symbol is selected in the |
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 082da1e1b7a..9a0de5f449b 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el | |||
| @@ -1445,7 +1445,9 @@ This command is intended to be bound to a mouse event." | |||
| 1445 | ;;;###autoload | 1445 | ;;;###autoload |
| 1446 | (defun xref-find-apropos (pattern) | 1446 | (defun xref-find-apropos (pattern) |
| 1447 | "Find all meaningful symbols that match PATTERN. | 1447 | "Find all meaningful symbols that match PATTERN. |
| 1448 | The argument has the same meaning as in `apropos'." | 1448 | The argument has the same meaning as in `apropos'. |
| 1449 | See `tags-apropos-additional-actions' for how to augment the | ||
| 1450 | output of this command when the backend is etags." | ||
| 1449 | (interactive (list (read-string | 1451 | (interactive (list (read-string |
| 1450 | "Search for pattern (word list or regexp): " | 1452 | "Search for pattern (word list or regexp): " |
| 1451 | nil 'xref--read-pattern-history | 1453 | nil 'xref--read-pattern-history |