diff options
author | Joost Kremers <joostkremers@fastmail.fm> | 2017-03-10 20:08:19 +0100 |
---|---|---|
committer | Joost Kremers <joostkremers@fastmail.fm> | 2017-03-10 20:08:19 +0100 |
commit | fd58a8e40d0f004ac1f83409be435761b0a76653 (patch) | |
tree | 9cde80614f1c4aa98591901d390cb34891b138e9 | |
parent | 8ba097de5c169f0623cc30d702baddbf0cf40da9 (diff) |
Update doc strings of parsebib-read-entry and parsebib-find-bibtex-field.
-rw-r--r-- | parsebib.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/parsebib.el b/parsebib.el index 12b2cf2..ae384f1 100644 --- a/parsebib.el +++ b/parsebib.el @@ -267,8 +267,9 @@ is otherwise not limited to any set of possible entry types. If so required, the calling function has to ensure that the entry type is valid. -If STRINGS is provided it is assumed to be a hash table passed to -parsebib-replace-strings." +If STRINGS is provided it should be a hash table with string +abbreviations, which are used to expand abbrevs in the entry's +fields." (unless (member-ignore-case type '("comment" "preamble" "string")) (when pos (goto-char pos)) (beginning-of-line) @@ -296,8 +297,9 @@ parsebib-replace-strings." Do not search beyond LIMIT (a buffer position). Return a cons (FIELD . VALUE), or nil if no field was found. -If STRINGS is provided it is assumed to be a hash table passed to -parsebib-replace-strings." +If STRINGS is provided it should be a hash table with string +abbreviations, which are used to expand abbrevs in the field's +value." (skip-chars-forward "\"#%'(),={} \n\t\f" limit) ; move to the first char of the field name (unless (>= (point) limit) ; if we haven't reached the end of the entry (let ((beg (point))) |