diff options
author | Bastien Guerry <bzg@altern.org> | 2014-04-20 12:19:28 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-04-20 12:19:28 +0200 |
commit | cea5ab81ea0a0fe7425880562f8567a7f65c81c8 (patch) | |
tree | 011484d2ac933f5b253d5fd6a9660cb85d31bc9c | |
parent | 198140aa68dba341545778021dbc6be5a6ba2f7a (diff) | |
parent | 55bde39d88084da99634ecb3dc6ac8af3567073c (diff) | |
download | org-mode-cea5ab81ea0a0fe7425880562f8567a7f65c81c8.tar.gz |
Merge branch 'master' of orgmode.org:org-mode
-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)))))) |