diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-08-19 16:49:36 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-08-19 16:51:07 +0200 |
commit | f9f35bc79b55f4243dd0e289653cac7ee8418ea3 (patch) | |
tree | 701d21b06ebc0e368918e9643de939f68a0df95b | |
parent | aa7dfd54def716373bb76b00b4cff7842bbf80f4 (diff) | |
download | org-mode-f9f35bc79b55f4243dd0e289653cac7ee8418ea3.tar.gz |
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>
-rw-r--r-- | lisp/ox-latex.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index ddb9649..ddbbd33 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -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 |