From 4e86b7ef1eb69354a80bd93f2063ac1643236b80 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 7 Aug 2021 13:25:35 +0200 Subject: fix: no bare boundp in iflet --- org-roam-ui.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'org-roam-ui.el') diff --git a/org-roam-ui.el b/org-roam-ui.el index 86e1324..a4c81c1 100644 --- a/org-roam-ui.el +++ b/org-roam-ui.el @@ -267,7 +267,8 @@ Returns the node with an updated title if the current node is a reference node and the key was found in the bibliography, otherwise the node is returned unchanged." (if-let* (org-roam-ui-retitle-ref-nodes - (boundp 'org-ref-cite-re) + ;; set a fake var because if-let(((boundp 'fake-var))) returns true + (orcr (boundp 'org-ref-cite-re)) (citekey (cdr (assoc "ROAM_REFS" (nth 4 node)))) (ref (org-roam-ui--citekey-to-ref citekey)) (title (org-roam-ui--find-ref-title ref))) -- cgit v1.2.3