summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-03-04 22:47:51 -0500
committerKyle Meyer <kyle@kyleam.com>2014-03-04 22:49:21 -0500
commitdd98bb5e11f04b83f2c72e2e8c3c49e2ecd82100 (patch)
tree6547065f150e8a6ef4cd160d1643bfa453b238be
parent19d9ffa6a3de76dae64de18f61a7136697480549 (diff)
downloadbog-dd98bb5e11f04b83f2c72e2e8c3c49e2ecd82100.tar.gz
MNT: Remove properties when get citekey at point
-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."