ox-latex: Allow nil for `org-latex-hyperref-template'

* lisp/ox-latex.el (org-latex-hyperref-template): Allow nil value.  Make
  `org-latex-with-hyperref' an obsolete alias for the variable.

<http://permalink.gmane.org/gmane.emacs.orgmode/100222>
This commit is contained in:
Nicolas Goaziou 2015-08-19 16:49:36 +02:00
parent aa7dfd54de
commit f9f35bc79b
1 changed files with 7 additions and 1 deletions

View File

@ -610,12 +610,18 @@ This format string may contain these elements:
If you need to use a \"%\" character, you need to escape it
like that: \"%%\".
As a special case, a nil value prevents template from being
inserted.
Setting :latex-hyperref-template in publishing projects will take
precedence over this variable."
:group 'org-export-latex
:version "25.1"
:package-version '(Org . "8.3")
:type '(string :tag "Format string"))
:type '(choice (const :tag "No template" nil)
(string :tag "Format string")))
(define-obsolete-variable-alias
'org-latex-with-hyperref 'org-latex-hyperref-template "25.1")
;;;; Headline