From 17c5eb54bd82bab779cbb158267cf9670016f8fc Mon Sep 17 00:00:00 2001 From: jethrokuan Date: Sun, 13 Mar 2022 05:24:36 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20cc368?= =?UTF-8?q?9f30f69260d89eb59959f6196bbe8f9e1ea=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manual.html | 12 ++++++------ org-roam.org | 9 +++++---- org-roam.texi | 12 ++++++------ 3 files changed, 17 insertions(+), 16 deletions(-) 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