From 121fb2d720e2a3a3dcdd21eedf3308431318c929 Mon Sep 17 00:00:00 2001 From: Titus von der Malsburg Date: Tue, 10 Oct 2017 12:01:24 +0200 Subject: [PATCH] Add curly parentheses when generating bibtex. Fixes bug introduced by string resolution code. --- bibtex-completion.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibtex-completion.el b/bibtex-completion.el index 5f162ea..99ef19a 100644 --- a/bibtex-completion.el +++ b/bibtex-completion.el @@ -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."