summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-19 23:02:28 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-19 23:02:28 -0500
commit4499436c080e572c3d121f9d80e0364b9f7d9fb3 (patch)
treea2a788356932e8a1126dc418f97a098f14c6703f
parentac76074c852b7a9791f5b205972447a2e3a371e0 (diff)
downloadbog-4499436c080e572c3d121f9d80e0364b9f7d9fb3.tar.gz
Add bog-search-notes-for-citekey to commander
-rw-r--r--bog.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/bog.el b/bog.el
index 17f4ec1..d09a2e9 100644
--- a/bog.el
+++ b/bog.el
@@ -1272,6 +1272,12 @@ chosen."
"Find citekey BibTeX file."
(bog-find-citekey-bib t))
+(def-bog-commander-method ?c
+ "Search notes for citekey with `org-search-view'."
+ ;; Switch to temporary buffer to prevent citekey being taken from
+ ;; context.
+ (with-temp-buffer (bog-search-notes-for-citekey)))
+
(def-bog-commander-method ?f
"Find citekey file."
(bog-find-citekey-file t))