summaryrefslogtreecommitdiff
path: root/bog.el
diff options
context:
space:
mode:
Diffstat (limited to 'bog.el')
-rw-r--r--bog.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/bog.el b/bog.el
index e4580d3..f754c31 100644
--- a/bog.el
+++ b/bog.el
@@ -181,7 +181,7 @@ year, and the first meaningful word in the title)."
(let ((maybe-citekey (thing-at-point 'word)))
(when (and maybe-citekey
(bog-citekey-only-p maybe-citekey))
- maybe-citekey)))
+ (substring-no-properties maybe-citekey))))
(defun bog-citekey-from-notes ()
"Get the citekey from the context of the Org file."