Skip to content

Commit

Permalink
Add curly parentheses when generating bibtex.
Browse files Browse the repository at this point in the history
Fixes bug introduced by string resolution code.
  • Loading branch information
tmalsburg committed Oct 10, 2017
1 parent 44935a6 commit 121fb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bibtex-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ defined. Surrounding curly braces are stripped."
bibtex-completion-no-export-fields)
'("=type=" "=key=" "=has-pdf=" "=has-note=" "crossref")))
concat
(format " %s = %s,\n" name value)))))
(format " %s = {%s},\n" name value)))))

(defun bibtex-completion-add-PDF-attachment (keys)
"Attach the PDFs of the selected entries where available."
Expand Down

0 comments on commit 121fb2d

Please sign in to comment.