summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-09-17 10:28:41 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-09-17 10:28:41 +0200
commite1982a0a9201d315dab9664847e21edba95b00e6 (patch)
tree8de5c7f24a460af02ca39050904d83c035b328e5
parent0ba465b8991a24b6e7a4e3893e492fb827d07963 (diff)
downloadorg-mode-e1982a0a9201d315dab9664847e21edba95b00e6.tar.gz
org.el: Respect user-defined reftex-cite-format
* lisp/org.el (org-reftex-citation): Respect user-defined reftex citation formats. Suggested-by: Sebastian Boehm <sebastian@sometimesfood.org> <http://permalink.gmane.org/gmane.emacs.orgmode/109175>
-rw-r--r--lisp/org.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el
index a3b3b01..5c9a07c 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -23695,7 +23695,6 @@ it has a `diary' type."
;;; Other stuff.
(defvar reftex-docstruct-symbol)
-(defvar reftex-cite-format)
(defvar org--rds)
(defun org-reftex-citation ()
@@ -23713,7 +23712,6 @@ Export of such citations to both LaTeX and HTML is handled by the contributed
package ox-bibtex by Taru Karttunen."
(interactive)
(let ((reftex-docstruct-symbol 'org--rds)
- (reftex-cite-format "\\cite{%l}")
org--rds bib)
(org-with-wide-buffer
(let ((case-fold-search t)