Skip to content

Commit

Permalink
Attempt at fixing #38.
Browse files Browse the repository at this point in the history
Apparently there is a bug in Emacs 24.3.1 that is triggered when `--map`
is used inside `cl-loop`.  See also:

  joostkremers/parsebib#3
  • Loading branch information
tmalsburg committed Feb 22, 2015
1 parent 9e268ed commit 50fe2cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions helm-bibtex.el
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,9 @@ appeared in the BibTeX files."
for entry-type = (parsebib-find-next-item)
while entry-type
unless (member-ignore-case entry-type '("preamble" "string" "comment"))
collect (--map (cons (downcase (car it)) (cdr it))
(parsebib-read-entry entry-type))))
collect (-map (lambda (it)
(cons (downcase (car it)) (cdr it)))
(parsebib-read-entry entry-type))))

(defun helm-bibtex-get-entry (entry-key)
"Given a BibTeX key this function scans all bibliographies
Expand Down

0 comments on commit 50fe2cb

Please sign in to comment.