summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-08-07 13:25:35 +0200
committerThomas F. K. Jorna <[email protected]>2021-08-07 13:25:35 +0200
commit4e86b7ef1eb69354a80bd93f2063ac1643236b80 (patch)
tree72676dfedd5b280c2ab42b4d176ebf776ef276f3 /org-roam-ui.el
parent87805439815b0a929d9e300b942c145d0bbe7277 (diff)
fix: no bare boundp in iflet
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)))