Variable: markdown-ts-toc-generate-warn-if-none
markdown-ts-toc-generate-warn-if-none is a customizable variable
defined in markdown-ts-mode-x.el.gz.
Value
insert-template
Documentation
Warn if no tables were processed when calling markdown-ts-toc-generate.
If nil, do nothing. If the symbol insert-template and
markdown-ts-toc-generate was called interactively, offer to insert a
template if there are none. If no-tables, warn when there are no
tables in the buffer. no-active-tables, is the same as no-tables
with the addition of a warning if there are tables, but none are active.
This variable was added, or its default value changed, in unknown version unknown.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode-x.el.gz
(defcustom markdown-ts-toc-generate-warn-if-none 'insert-template
"Warn if no tables were processed when calling `markdown-ts-toc-generate'.
If nil, do nothing. If the symbol `insert-template' and
`markdown-ts-toc-generate' was called interactively, offer to insert a
template if there are none. If `no-tables', warn when there are no
tables in the buffer. `no-active-tables', is the same as `no-tables'
with the addition of a warning if there are tables, but none are active."
:type '(choice (const :tag "No warnings" nil)
(const :tag "Insert a table template (if interactive)" insert-template)
(const :tag "Warn if no tables were processed" no-tables)
(const :tag "Warn if no active tables were processed" no-active-tables))
:version "31.1"
:package-version "1.0")