summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-04-20 12:19:28 +0200
committerBastien Guerry <bzg@altern.org>2014-04-20 12:19:28 +0200
commitcea5ab81ea0a0fe7425880562f8567a7f65c81c8 (patch)
tree011484d2ac933f5b253d5fd6a9660cb85d31bc9c
parent198140aa68dba341545778021dbc6be5a6ba2f7a (diff)
parent55bde39d88084da99634ecb3dc6ac8af3567073c (diff)
downloadorg-mode-cea5ab81ea0a0fe7425880562f8567a7f65c81c8.tar.gz
Merge branch 'master' of orgmode.org:org-mode
-rw-r--r--lisp/org-bibtex.el6
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))))))