From ce91aa51e6acfec6a932c6051872b5a3be4bab2c Mon Sep 17 00:00:00 2001 From: jethrokuan Date: Sat, 12 Mar 2022 21:12:28 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20b179a?= =?UTF-8?q?5a1a69c2b9f8332e29b78cc12677c4b765f=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manual.html | 10 ++++++++++ org-roam.org | 9 +++++++++ org-roam.texi | 10 ++++++++++ 3 files changed, 29 insertions(+) diff --git a/manual.html b/manual.html index 2b8f61e..0e5690e 100644 --- a/manual.html +++ b/manual.html @@ -1187,6 +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: +

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

diff --git a/org-roam.org b/org-roam.org index 5f276b0..ae8ddfe 100644 --- a/org-roam.org +++ b/org-roam.org @@ -648,6 +648,15 @@ 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: + +#+begin_src emacs-lisp + (setq org-roam-mode-section-functions + (list + (lambda (node) (org-roam-backlinks-section node :unique t)) + #'org-roam-reflinks-section)) +#+end_src + ** Configuring the Org-roam buffer display Org-roam does not control how the pop-up buffer is displayed: this is left to diff --git a/org-roam.texi b/org-roam.texi index 7b53c08..c155663 100644 --- a/org-roam.texi +++ b/org-roam.texi @@ -988,6 +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: + +@lisp + (setq org-roam-mode-section-functions + (list + (lambda (node) (org-roam-backlinks-section node :unique t)) + #'org-roam-reflinks-section)) +@end lisp + + @node Configuring the Org-roam buffer display @section Configuring the Org-roam buffer display