Function: markdown-ts--apply-ellipsis
markdown-ts--apply-ellipsis is a byte-compiled function defined in
markdown-ts-mode.el.gz.
Signature
(markdown-ts--apply-ellipsis)
Documentation
Apply markdown-ts-ellipsis to the current buffer's display table.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--apply-ellipsis ()
"Apply `markdown-ts-ellipsis' to the current buffer's display table."
(if (and (stringp markdown-ts-ellipsis)
(not (string-empty-p markdown-ts-ellipsis)))
(let ((table (or buffer-display-table
(make-display-table))))
(set-display-table-slot
table 4
(vconcat (mapcar (lambda (c) (make-glyph-code c 'shadow))
markdown-ts-ellipsis)))
(setq buffer-display-table table))
(when buffer-display-table
(set-display-table-slot buffer-display-table 4 nil))))