diff options
author | Bastien Guerry <bastien1@free.fr> | 2012-05-16 19:33:50 +0200 |
---|---|---|
committer | Bastien Guerry <bastien1@free.fr> | 2012-05-16 19:33:50 +0200 |
commit | 8c8b834fa997dbfd1b87abc1368a4680d1833e15 (patch) | |
tree | c0b64251aad5d535486ec064213263b064419cee /lisp/org/org-bibtex.el | |
parent | 4f32cc6c579a7cad630732643088e89ed3868b53 (diff) | |
download | emacs-8c8b834fa997dbfd1b87abc1368a4680d1833e15.tar.gz |
Merge Org 7.8.10 -- important bug fixes since Org 7.8.09.
Diffstat (limited to 'lisp/org/org-bibtex.el')
-rw-r--r-- | lisp/org/org-bibtex.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/org/org-bibtex.el b/lisp/org/org-bibtex.el index 21e36a7c187..4c852fcb875 100644 --- a/lisp/org/org-bibtex.el +++ b/lisp/org/org-bibtex.el @@ -369,7 +369,7 @@ This variable is relevant only if `org-bibtex-export-tags-as-keywords` is t." (progn (goto-char (match-end 1)) (insert ", ")) (bibtex-make-field "keywords" t t)) (insert (mapconcat #'identity tags ", "))) - (bibtex-reformat) (buffer-string))))))) + (buffer-string))))))) (defun org-bibtex-ask (field) (unless (assoc field org-bibtex-fields) @@ -661,7 +661,8 @@ This uses `bibtex-parse-entry'." (defun org-bibtex-export-to-kill-ring () "Export current headline to kill ring as bibtex entry." (interactive) - (kill-new (org-bibtex-headline))) + (let ((result (org-bibtex-headline))) + (kill-new result) result)) (defun org-bibtex-search (string) "Search for bibliographical entries in agenda files. |