diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-02-05 01:46:51 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-02-05 01:51:02 -0500 |
commit | a718ddfee1ec76e8d5aa1088206f148ffc53172b (patch) | |
tree | 35827dd7ac03a9f83136506a710717e0fdf450f4 /bog.el | |
parent | 43b8c64543e9db2c4f663c1071c616438b76636e (diff) | |
download | bog-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.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |