summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Kremers <joostkremers@fastmail.fm>2017-03-11 01:20:10 +0100
committerJoost Kremers <joostkremers@fastmail.fm>2017-03-11 01:20:10 +0100
commit3590371660128a6b3d2a2e1cfd5a20e32f9ded7f (patch)
treeac71dc7b3c76cc90c1b9a18e5eb8fcd82462b065
parente7969795429db96494a55b2d925d3443f98c5b26 (diff)
Update comments
-rw-r--r--parsebib.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/parsebib.el b/parsebib.el
index 2b6abf7..ab714af 100644
--- a/parsebib.el
+++ b/parsebib.el
@@ -175,9 +175,9 @@ if non-nil."
str))))
strings))
-;;;;;;;;;;;;;;;;;;;;;;;;
-;; parsing a bib file ;;
-;;;;;;;;;;;;;;;;;;;;;;;;
+;;;;;;;;;;;;;;;;;;;
+;; low-level API ;;
+;;;;;;;;;;;;;;;;;;;
(defun parsebib-find-next-item (&optional pos)
"Find the first (potential) BibTeX item following POS.
@@ -323,6 +323,10 @@ value."
(let ((field-contents (parsebib--parse-value limit strings)))
(cons field-type field-contents)))))))
+;;;;;;;;;;;;;;;;;;;;
+;; high-level API ;;
+;;;;;;;;;;;;;;;;;;;;
+
(defun parsebib-collect-strings (&optional hash expand-strings)
"Collect all @String definitions in the current buffer.
Return value is a hash with the abbreviations as keys and the