summaryrefslogtreecommitdiff
path: root/bog.el
diff options
context:
space:
mode:
Diffstat (limited to 'bog.el')
-rw-r--r--bog.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/bog.el b/bog.el
index 19d2f63..b35b72b 100644
--- a/bog.el
+++ b/bog.el
@@ -354,7 +354,8 @@ file."
(insert "\n")
(insert-file-contents it)
(goto-char (point-max)))
- (bibtex-mode)))
+ (bibtex-mode)
+ (goto-char (point-min))))
(defun bog-collect-references (&optional no-sort)
"Return names in buffer that match `bog-citekey-format'.