summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bog.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/bog.el b/bog.el
index 70e9aae..79c1e4a 100644
--- a/bog.el
+++ b/bog.el
@@ -373,7 +373,7 @@ With prefix FILE, include only orphan citekeys from that file."
(heading-cks (bog-all-heading-citekeys))
cks)
(with-current-buffer (get-buffer-create "*Bog orphan citekeys*")
- (delete-region (point-min) (point-max))
+ (erase-buffer)
(insert "\n")
(-each files
(lambda (f)
@@ -599,7 +599,7 @@ one entry per BibTeX file."
(-map #'bog-citekey-as-bib
(-distinct (--sort (string-lessp it other) citekeys))))
(with-current-buffer (get-buffer-create bib-buffer-name)
- (delete-region (point-min) (point-max))
+ (erase-buffer)
(--each bib-files
(cond
((file-exists-p it)