summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r--org-roam-ui.el3
1 files changed, 2 insertions, 1 deletions
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)))