summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-02-03 14:54:11 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-02-03 14:54:11 +0100
commit005ff5f5c27f1187df81a48db9f93b9e99e94d97 (patch)
treedea4bcdbe71d7d0f48bcc69f0c429be70858e525
parent567fc311ac95237337aff7b0d45a367e7c9843e1 (diff)
parentd0c4d9ba23598c86dc69c79706f1bb8373fab1c5 (diff)
downloadorg-mode-005ff5f5c27f1187df81a48db9f93b9e99e94d97.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/ox-latex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 105ac0b..b3fbf8e 100644
--- a/lisp/ox-latex.el
+++ b/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.