From 1b56e781c2989e01a3245b16fa9f75ed70074098 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Thu, 3 Apr 2025 06:21:43 -0400 Subject: [PATCH] tweak(org-roam): remove unlinked references from buffer This never really worked all that well anyways, so it's not worth keeping around. I can just implement my own version if I want this feature. --- config.org | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/config.org b/config.org index e41ad24..6f251d9 100644 --- a/config.org +++ b/config.org @@ -3535,21 +3535,11 @@ By default, Roam generates file names containing both a timestamp and the node t *** Roam Buffer -The unlinked references section is turned off by default for performance reasons, but sometimes I want to see that information when writing notes. I also don't want it to show up for every node, because some of my nodes have quite a large reference list. Let's add a predicate to control when unlinked references are shown. - -#+begin_src emacs-lisp -(defadvice! ~/org-roam-unlinked-references-p (node) - "A predicate to control when unlinked references are shown in the `org-roam' buffer." - :before-until #'org-roam-unlinked-references-section - (assoc "ROAM_NO_UNLINKED" (org-roam-node-properties node))) -#+end_src - #+begin_src emacs-lisp (after! org-roam (setq org-roam-mode-sections '((org-roam-backlinks-section :unique t) - org-roam-reflinks-section - org-roam-unlinked-references-section))) + org-roam-reflinks-section))) #+end_src *** Roam Links