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>
This commit is contained in:
parent
0ba465b899
commit
e1982a0a92
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue