forked from mirrors/org-mode
org-bibtex: Tiny code clean-up
* lisp/org-bibtex.el (org-bibtex-headline): Tiny code clean-up.
This commit is contained in:
parent
d9312231e9
commit
c7812ff8a0
|
@ -371,9 +371,9 @@ This variable is relevant only if `org-bibtex-tags-are-keywords' is t."
|
|||
(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))))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue