Function: markdown-ts--custom-set
markdown-ts--custom-set is a byte-compiled function defined in
markdown-ts-mode.el.gz.
Signature
(markdown-ts--custom-set SYMBOL VALUE &optional BUFFER-LOCAL)
Documentation
Set SYMBOL to VALUE, as the :set function of display options.
If BUFFER-LOCAL is non-nil, set it in the current buffer and update the display there.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--custom-set (symbol value &optional buffer-local)
"Set SYMBOL to VALUE, as the `:set' function of display options.
If BUFFER-LOCAL is non-nil, set it in the current buffer and update the
display there."
(if (not buffer-local)
(set-default symbol value)
(set-local symbol value)
(when (derived-mode-p 'markdown-ts-mode)
(pcase symbol
('markdown-ts-hide-markup (markdown-ts--set-hide-markup value))
('markdown-ts-inline-images (markdown-ts--set-inline-images value))))))