markdown-nested-imenu-heading-index = nil

See jrblevin/markdown-mode#578.
This commit is contained in:
Henrik Lissner 2021-07-12 18:08:55 -04:00
parent 6672ee5cf5
commit aad7bc521f

View file

@ -26,6 +26,10 @@ capture, the end position, and the output buffer.")
markdown-gfm-additional-languages '("sh") markdown-gfm-additional-languages '("sh")
markdown-make-gfm-checkboxes-buttons t markdown-make-gfm-checkboxes-buttons t
;; HACK Due to jrblevin/markdown-mode#578, invoking `imenu' throws a
;; 'wrong-type-argument consp nil' error if you use native-comp.
markdown-nested-imenu-heading-index (not (ignore-errors (native-comp-available-p)))
;; `+markdown-compile' offers support for many transpilers (see ;; `+markdown-compile' offers support for many transpilers (see
;; `+markdown-compile-functions'), which it tries until one succeeds. ;; `+markdown-compile-functions'), which it tries until one succeeds.
markdown-command #'+markdown-compile markdown-command #'+markdown-compile