Merge branch 'maint'

This commit is contained in:
Bastien Guerry 2014-04-20 08:30:53 +02:00
commit 01466999c1
1 changed files with 3 additions and 1 deletions

View File

@ -386,7 +386,9 @@ and `org-exclude-tags-from-inheritence'."
(bibtex-beginning-of-entry)
(if (re-search-forward "keywords.*=.*{\\(.*\\)}" nil t)
(progn (goto-char (match-end 1)) (insert ", "))
(ignore-errors (bibtex-make-field "keywords" t t)))
(progn (re-search-forward ",\\(\n\\)" nil t)
(insert " keywords={},\n"))
(re-search-backward "}," nil t))
(insert (mapconcat #'identity tags ", ")))
(buffer-string))))))