Variable: tabulated-list-groups

tabulated-list-groups is a buffer-local variable defined in tabulated-list.el.gz.

Documentation

Groups displayed in the current Tabulated List buffer.

This should be either a function, or a list. If a list, each element has the form (GROUP-NAME ENTRY1 ENTRY2 ...), where:

 - GROUP-NAME is a group name as a string, which is displayed
   at the top line of each group.

 - ENTRY1, ENTRY2 and so on each have the same format as an element
   of tabulated-list-entries.

If tabulated-list-groups(var)/tabulated-list-groups(fun) is a function, it is called with no arguments and must return a list of the above form.

View in manual

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/tabulated-list.el.gz
(defvar-local tabulated-list-groups nil
  "Groups displayed in the current Tabulated List buffer.
This should be either a function, or a list.
If a list, each element has the form (GROUP-NAME ENTRY1 ENTRY2 ...),
where:

 - GROUP-NAME is a group name as a string, which is displayed
   at the top line of each group.

 - ENTRY1, ENTRY2 and so on each have the same format as an element
   of `tabulated-list-entries'.

If `tabulated-list-groups' is a function, it is called with no
arguments and must return a list of the above form.")