diff options
author | Joost Kremers <joostkremers@fastmail.fm> | 2017-03-27 08:12:27 +0200 |
---|---|---|
committer | Joost Kremers <joostkremers@fastmail.fm> | 2017-03-27 08:12:27 +0200 |
commit | b501cdd8bea52579d67e309d4f4c36587cf85649 (patch) | |
tree | ec075bd5d2ad112907cfb700592be157fdb28aaf | |
parent | 98f74445e2ea60a8e8af3204a0148c024808a872 (diff) |
Remove empty items from parsebib-collect-strings.
-rw-r--r-- | parsebib.el | 2 |
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. |