Skip to content

Commit

Permalink
Merge pull request #4 from yoshimoto/master
Browse files Browse the repository at this point in the history
Fix issue ardumont#51
  • Loading branch information
pierre-rouleau authored Nov 14, 2024
2 parents bd1a18f + 4e1af28 commit 717d7f1
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 @@ -147,7 +147,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 717d7f1

Please sign in to comment.