瀏覽代碼

Merge branch 'maint'

Nicolas Goaziou 5 年之前
父節點
當前提交
625f8e6d9c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      contrib/lisp/ox-koma-letter.el

+ 2 - 1
contrib/lisp/ox-koma-letter.el

@@ -748,7 +748,8 @@ holding export options."
                 (if (symbolp with-subject) with-subject
                   (mapconcat #'symbol-name with-subject ","))))
       ;; Hyperref.
-      (format-spec hyperref-template spec)
+      (and (stringp hyperref-template)
+	   (format-spec hyperref-template spec))
       ;; Document start.
       "\\begin{document}\n\n"
       ;; Subject and title.