summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Kremers <joostkremers@fastmail.fm>2015-01-19 11:07:17 +0100
committerJoost Kremers <joostkremers@fastmail.fm>2015-01-19 11:07:17 +0100
commita2becf16c57268e78c1f532a70c26981c69ed450 (patch)
tree7349aea76ddcbcf356f95982365fc4542d6d5c6b
parentd45accf3f688bd167de302fabe156c0ef50dbbbe (diff)
Reverse list of fields when parsing an entry.
This fixes Ebib issue 62.
-rw-r--r--parsebib.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsebib.el b/parsebib.el
index 1aac3ed..bea9d98 100644
--- a/parsebib.el
+++ b/parsebib.el
@@ -290,7 +290,7 @@ type is valid."
while field collect field)))
(push (cons "=type=" type) fields)
(push (cons "=key=" key) fields)
- fields)))))
+ (nreverse fields))))))
(defun parsebib--find-bibtex-field (limit)
"Find the field after point.