Skip to content

Commit

Permalink
Merge pull request #57 from yoshimoto/master
Browse files Browse the repository at this point in the history
Fix issue #51
  • Loading branch information
jcs090218 authored Nov 29, 2024
2 parents 9bc2d19 + 4e1af28 commit 6bcf212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown-toc.el
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Default to identity function (do nothing)."
(when menu-index
(let* ((fst (car menu-index))
(tail (cdr menu-index))
(ttail (if (integerp tail) nil (cdr tail))))
(ttail (cdr-safe tail)))
(cons `(,level . ,fst)
(--mapcat
(markdown-toc--compute-toc-structure-from-level (+ 1 level) it)
Expand Down

0 comments on commit 6bcf212

Please sign in to comment.