summaryrefslogtreecommitdiff
path: root/bog.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-05 01:46:51 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-05 01:51:02 -0500
commita718ddfee1ec76e8d5aa1088206f148ffc53172b (patch)
tree35827dd7ac03a9f83136506a710717e0fdf450f4 /bog.el
parent43b8c64543e9db2c4f663c1071c616438b76636e (diff)
downloadbog-a718ddfee1ec76e8d5aa1088206f148ffc53172b.tar.gz
Rename bog-citekey-heading
New name, `bog-citekey-from-heading-title', provides a clearer indication of what it is doing.
Diffstat (limited to 'bog.el')
-rw-r--r--bog.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/bog.el b/bog.el
index 44514f5..0b97b40 100644
--- a/bog.el
+++ b/bog.el
@@ -114,7 +114,7 @@ from the first parent heading that matches `bog-citekey-format'.
ACTION will be called with the resulting citekey as an argument."
(let* ((citekey (and ask-citekey (funcall ask-func)))
(citekey (or (bog-citekey-at-point)
- (bog-citekey-heading))))
+ (bog-citekey-from-heading-title))))
(funcall action citekey)))
(defun bog-select-citekey (citekeys)
@@ -141,7 +141,7 @@ year, and the first meaningful word in the title)."
(bog-citekey-only-p maybe-citekey))
maybe-citekey)))
-(defun bog-citekey-heading ()
+(defun bog-citekey-from-heading-title ()
"Return first org heading that matches `bog-citekey-format'."
(save-excursion
(save-restriction