]> git.eshelyaron.com Git - emacs.git/commit
Introduce text-coverup API.
authorTed Zlatanov <tzz@lifelogs.com>
Tue, 23 Jun 2020 22:16:24 +0000 (18:16 -0400)
committerTed Zlatanov <tzz@lifelogs.com>
Sun, 12 Jul 2020 20:44:10 +0000 (16:44 -0400)
commit0256303f24b1fc193f1d6c1861abf81fd5ee374a
treee84a3ccce3c3d64441b7938d13bb4b508111f346
parentf8b4f204a545a3bead094a128d02824b9d8690f1
Introduce text-coverup API.

* lisp/progmodes/prog-mode.el (text-coverup-alist): New variable
supporting regular expression text coverup entries.
(text-coverup-default-compose-p): Add default compose predicate
paralleling prettify-symbols-default-compose-p.
(text-coverup-compose-predicate): Add buffer-local variable for
user-defined composition predicates.
(text-coverup-uncover-at-point): New defcustom.
(text-coverup-add-coverup-entry)
(text-coverup-add-coverup)
(text-coverup-remove-coverup)
(text-coverup-remove-coverups)
(text-coverup-remove-all-coverups): Add text-coverup API
functions.
(turn-off-text-coverup-highlighting)
(turn-on-text-coverup-highlighting): Add top level text-coverup
management functions.
lisp/progmodes/prog-mode.el