From f9f35bc79b55f4243dd0e289653cac7ee8418ea3 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 19 Aug 2015 16:49:36 +0200 Subject: [PATCH] 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. --- lisp/ox-latex.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index ddb964960..ddbbd3368 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 -- 2.11.4.GIT