summaryrefslogtreecommitdiff
path: root/bog.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-22 03:06:59 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-22 03:06:59 -0500
commit37da56976b08b6d26ec35eee411b20bc2253f38f (patch)
tree78887070d00bcb92f1952548f36515680b06e589 /bog.el
parent9ede95803eae7fa7b31e784ffb7b9293a6a1f2ed (diff)
downloadbog-37da56976b08b6d26ec35eee411b20bc2253f38f.tar.gz
Mark bog-prepare-bib-file as an internal function
Diffstat (limited to 'bog.el')
-rw-r--r--bog.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/bog.el b/bog.el
index 110d946..becee39 100644
--- a/bog.el
+++ b/bog.el
@@ -485,8 +485,8 @@ opened if locating a citekey from context fails."
"Clean and rename BibTeX files in `bog-stage-directory'.
New BibTeX files are searched for in `bog-stage-directory', and
-`bog-prepare-bib-file' will be run one each file before it is
-moved to `bog-bib-directory'/<citekey>.bib.
+`bibtex-clean-entry' will be run one each file before it is moved
+to `bog-bib-directory'/<citekey>.bib.
This function is only useful if you use the non-standard setup of
one entry per BibTeX file."
@@ -495,9 +495,9 @@ one entry per BibTeX file."
(file-expand-wildcards
(concat (file-name-as-directory bog-stage-directory) "*.bib"))))
(--each staged
- (bog-prepare-bib-file it t bog-bib-directory))))
+ (bog--prepare-bib-file it t bog-bib-directory))))
-(defun bog-prepare-bib-file (file &optional new-key new-directory)
+(defun bog--prepare-bib-file (file &optional new-key new-directory)
(let (bib-file)
(with-temp-buffer
(bibtex-mode)