summaryrefslogtreecommitdiff
path: root/bog-tests.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-12-13 01:10:06 -0500
committerKyle Meyer <kyle@kyleam.com>2014-12-13 01:10:06 -0500
commit248f8a8e81dc161401dc50a3a84ebe41abb23f07 (patch)
treea28cb569c7c01f09876e78406feae2f503f3139e /bog-tests.el
parent447ac23d28fb7d5f2fc94a6924eb3f48a4243ab2 (diff)
downloadbog-248f8a8e81dc161401dc50a3a84ebe41abb23f07.tar.gz
Support creating combined bib from multiple files
Before, bog-create-combined-bib only collected citekeys from a single buffer. Extend it so that it also works with marked files in Dired. In addition - Rename combined bib buffer so that it includes "Bog" in the name. - Offer to skip missing bib files instead of failing. - Remove bog-collect-references and bog-collect-unique-references, which overlap with the newer bog-citekeys-in-buffer [1] and should have been removed when that function was added. [1] ce74785920d6234072eb2ebef63bd140a25534c2
Diffstat (limited to 'bog-tests.el')
-rw-r--r--bog-tests.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/bog-tests.el b/bog-tests.el
index c454da7..0532fc9 100644
--- a/bog-tests.el
+++ b/bog-tests.el
@@ -433,14 +433,6 @@ some text"
(kill-buffer new-buffer)
(delete-file new-file)))))
-;; `bog-collect-references'
-
-(ert-deftest bog-collect-unique-references ()
- (with-temp-buffer
- (insert "abc1900word\nhij2000word\nefg1800word\n")
- (should (equal (bog-collect-unique-references)
- '("abc1900word" "efg1800word" "hij2000word")))))
-
;; `bog-sort-topic-headings-in-buffer'
(ert-deftest bog-sort-topic-headings-in-buffer ()