Variable: tags-apropos-additional-actions

tags-apropos-additional-actions is a customizable variable defined in etags.el.gz.

Value

nil

Documentation

Specify additional actions for tags-apropos and xref-find-apropos.

If non-nil, value should be a list of triples (TITLE FUNCTION TO-SEARCH). For each triple, tags-apropos and xref-find-apropos process TO-SEARCH and list tags from it. TO-SEARCH should be an alist, obarray, or symbol. If it is a symbol, the symbol's value is used. TITLE, a string, is a title used to label the additional list of tags. FUNCTION is a function to call when a symbol is selected in the
*Tags List* buffer. It will be called with one argument SYMBOL which
is the symbol being selected.

Example value:

   (("Emacs Lisp" Info-goto-emacs-command-node obarray)
    ("Common Lisp" common-lisp-hyperspec common-lisp-hyperspec-obarray)
    ("SCWM" scwm-documentation scwm-obarray))

This variable was added, or its default value changed, in Emacs 21.1.

View in manual

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
(defcustom tags-apropos-additional-actions nil
  "Specify additional actions for `tags-apropos' and `xref-find-apropos'.

If non-nil, value should be a list of triples (TITLE FUNCTION
TO-SEARCH).  For each triple, `tags-apropos' and `xref-find-apropos'
process TO-SEARCH and list tags from it.  TO-SEARCH should be an alist,
obarray, or symbol.
If it is a symbol, the symbol's value is used.
TITLE, a string, is a title used to label the additional list of tags.
FUNCTION is a function to call when a symbol is selected in the
*Tags List* buffer.  It will be called with one argument SYMBOL which
is the symbol being selected.

Example value:

   ((\"Emacs Lisp\" Info-goto-emacs-command-node obarray)
    (\"Common Lisp\" common-lisp-hyperspec common-lisp-hyperspec-obarray)
    (\"SCWM\" scwm-documentation scwm-obarray))"
  :type '(repeat (list (string :tag "Title")
		       function
		       (sexp :tag "Tags to search")))
  :version "21.1")