summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bog.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/bog.el b/bog.el
index 957d0b9..af24c0c 100644
--- a/bog.el
+++ b/bog.el
@@ -333,8 +333,7 @@ With prefix argument NO-CONTEXT, a prompt will open to select
from citekeys for all associated files. This same prompt will be
opened if locating a citekey from context fails."
(interactive "P")
- (let ((citekey (bog-citekey-from-notes-or-files no-context)))
- (bog-open-citekey-file citekey)))
+ (bog-open-citekey-file (bog-citekey-from-notes-or-files no-context)))
(defun bog-open-citekey-file (citekey)
(let* (citekey-file