More selective wiki link refontification
commitacf7c5e6f65feccb851a611d46baabd749e46423
authorJason Blevins <jrblevin@sdf.org>
Sat, 19 Dec 2015 03:15:17 +0000 (18 22:15 -0500)
committerJason Blevins <jrblevin@sdf.org>
Sat, 19 Dec 2015 03:15:18 +0000 (18 22:15 -0500)
treef6200e03ec965dad9aa91c3f1400b47981e51fad
parent1c76d45ae30bba1e8d68b2500d0531c69dd1472d
More selective wiki link refontification

We only need to refontify wiki links in a region when
the range already contains text with a wiki link face
or if the wiki link regexp matches text in the region.
Otherwise, we can be sure there are no wiki links in
the region and can skip refontifying wiki links
(which is expensive in an after-change hook).
markdown-mode.el