diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2014-04-20 10:15:01 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2014-04-20 10:15:01 +0200 |
commit | 55bde39d88084da99634ecb3dc6ac8af3567073c (patch) | |
tree | a4c7f46f91f6e202fc19c93db6fc434a5d66daf4 | |
parent | 5e60677cf8d51daa81f802cedb00692b28a2d334 (diff) | |
parent | c7812ff8a096101bcc5d99f04cdf70782237944c (diff) | |
download | org-mode-55bde39d88084da99634ecb3dc6ac8af3567073c.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org-bibtex.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el index bf127a5..3efee73 100644 --- a/lisp/org-bibtex.el +++ b/lisp/org-bibtex.el @@ -386,9 +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 ", ")) - (progn (re-search-forward ",\\(\n\\)" nil t) - (insert " keywords={},\n")) - (re-search-backward "}," nil t)) + (search-forward ",\n" nil t) + (insert " keywords={},\n") + (search-backward "}," nil t)) (insert (mapconcat #'identity tags ", "))) (buffer-string)))))) |