Skip to content

Commit

Permalink
Don't export crossref field.
Browse files Browse the repository at this point in the history
Because corssrefs are resolved in the exported entry.
  • Loading branch information
tmalsburg committed Jan 31, 2015
1 parent 7fb7e02 commit 1a23dbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helm-bibtex.el
Original file line number Diff line number Diff line change
Expand Up @@ -636,12 +636,12 @@ defined. Surrounding curly braces are stripped."
(format "@%s{%s,\n%s}\n"
entry-type key
(cl-loop
for field in (cl-remove-duplicates entry :test #'string=
:key #'car :from-end t)
with -compare-fn = (lambda (x y) (string= (car x) (car y)))
for field in (-uniq entry)
for name = (car field)
for value = (cdr field)
unless (member name '("=type=" "=key=" "=has-pdf="
"=has-note="))
"=has-note=" "crossref"))
concat
(format " %s = %s,\n" name value)))))

Expand Down

0 comments on commit 1a23dbc

Please sign in to comment.