diff --git a/manual.html b/manual.html index 0e5690e..2053c2d 100644 --- a/manual.html +++ b/manual.html @@ -1187,16 +1187,16 @@ title/alias but are not linked

Note that computing unlinked references may be slow, and has not been added in by default.

-

Or, if you want to render unique sources for backlinks (and also keep rendering reference links), set org-roam-mode-section-functions as follows: +

For each section function, you can pass args along to modify its behaviour. For +example, if you want to render unique sources for backlinks (and also keep +rendering reference links), set org-roam-mode-section-functions as follows:

-
  (setq org-roam-mode-section-functions
-        (list
-         (lambda (node) (org-roam-backlinks-section node :unique t))
-         #'org-roam-reflinks-section))
+
(setq org-roam-mode-section-functions
+      '((org-roam-backlinks-section :unique t)
+        org-roam-reflinks-section))
 
-

diff --git a/org-roam.org b/org-roam.org index ae8ddfe..260e384 100644 --- a/org-roam.org +++ b/org-roam.org @@ -648,13 +648,14 @@ To configure what sections are displayed in the buffer, set ~org-roam-mode-secti Note that computing unlinked references may be slow, and has not been added in by default. -Or, if you want to render unique sources for backlinks (and also keep rendering reference links), set ~org-roam-mode-section-functions~ as follows: +For each section function, you can pass args along to modify its behaviour. For +example, if you want to render unique sources for backlinks (and also keep +rendering reference links), set ~org-roam-mode-section-functions~ as follows: #+begin_src emacs-lisp (setq org-roam-mode-section-functions - (list - (lambda (node) (org-roam-backlinks-section node :unique t)) - #'org-roam-reflinks-section)) + '((org-roam-backlinks-section :unique t) + org-roam-reflinks-section)) #+end_src ** Configuring the Org-roam buffer display diff --git a/org-roam.texi b/org-roam.texi index c155663..38d0ed4 100644 --- a/org-roam.texi +++ b/org-roam.texi @@ -988,16 +988,16 @@ To configure what sections are displayed in the buffer, set @code{org-roam-mode- Note that computing unlinked references may be slow, and has not been added in by default. -Or, if you want to render unique sources for backlinks (and also keep rendering reference links), set @code{org-roam-mode-section-functions} as follows: +For each section function, you can pass args along to modify its behaviour. For +example, if you want to render unique sources for backlinks (and also keep +rendering reference links), set @code{org-roam-mode-section-functions} as follows: @lisp - (setq org-roam-mode-section-functions - (list - (lambda (node) (org-roam-backlinks-section node :unique t)) - #'org-roam-reflinks-section)) +(setq org-roam-mode-section-functions + '((org-roam-backlinks-section :unique t) + org-roam-reflinks-section)) @end lisp - @node Configuring the Org-roam buffer display @section Configuring the Org-roam buffer display