Variable: org-roam-mode-sections
org-roam-mode-sections is a customizable variable defined in
org-roam-mode.el.
Value
(org-roam-backlinks-section org-roam-reflinks-section)
Documentation
A list of sections for the org-roam-mode based buffers.
Each section is a function that is passed the org-roam-node
for which the section will be constructed as the first
argument. Normally this node is org-roam-buffer-current-node.
The function may also accept other optional arguments. Each item
in the list is either:
1. A function, which is called only with the org-roam-node as the argument
2. A list, containing the function and the optional arguments.
For example, one can add
(org-roam-backlinks-section :unique t)
to the list to pass :unique t to the section-rendering function.
Aliases
org-roam-mode-section-functions (obsolete since org-roam 2.2.0)
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-mode.el
;;; Options
(defcustom org-roam-mode-sections (list #'org-roam-backlinks-section
#'org-roam-reflinks-section)
"A list of sections for the `org-roam-mode' based buffers.
Each section is a function that is passed the `org-roam-node'
for which the section will be constructed as the first
argument. Normally this node is `org-roam-buffer-current-node'.
The function may also accept other optional arguments. Each item
in the list is either:
1. A function, which is called only with the `org-roam-node' as the argument
2. A list, containing the function and the optional arguments.
For example, one can add
(org-roam-backlinks-section :unique t)
to the list to pass :unique t to the section-rendering function."
:group 'org-roam
:type `(repeat (choice (symbol :tag "Function")
(list :tag "Function with arguments"
(symbol :tag "Function")
(repeat :tag "Arguments" :inline t (sexp :tag "Arg"))))))