Browse Source

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>
Nicolas Goaziou 8 years ago
parent
commit
e1982a0a92
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lisp/org.el

+ 0 - 2
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)