فهرست منبع

Merge branch 'maint'

Nicolas Goaziou 7 سال پیش
والد
کامیت
005ff5f5c2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lisp/ox-latex.el

+ 1 - 1
lisp/ox-latex.el

@@ -1719,7 +1719,7 @@ holding export options."
      ;; Table of contents.
      (let ((depth (plist-get info :with-toc)))
        (when depth
-	 (concat (when (wholenump depth)
+	 (concat (when (integerp depth)
 		   (format "\\setcounter{tocdepth}{%d}\n" depth))
 		 (plist-get info :latex-toc-command))))
      ;; Document's body.