summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parsebib.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsebib.el b/parsebib.el
index 145f9e3..ae32a1f 100644
--- a/parsebib.el
+++ b/parsebib.el
@@ -535,7 +535,7 @@ Return a list of strings, each string a separate @Comment."
while item do
(when (cl-equalp item "comment")
(push (parsebib-read-comment) res)))
- (nreverse res))))
+ (nreverse (delq nil res)))))
(defun parsebib-collect-strings (&optional hash expand-strings)
"Collect all @String definitions in the current buffer.