Fix extend-region functions
commit00152d5d0e62e297d3aa6a467e798f40234ff4b8
authorJason Blevins <jrblevin@sdf.org>
Fri, 18 Dec 2015 15:22:46 +0000 (18 10:22 -0500)
committerJason Blevins <jrblevin@sdf.org>
Fri, 18 Dec 2015 15:37:04 +0000 (18 10:37 -0500)
tree90ac013eaa69d0d511df57c5115cea6a7c79bfd1
parentd3b795ba0202247ba2c98a3d1ab8895f9d2a1e5f
Fix extend-region functions

Return nil in markdown-syntax-propertize-extend-region when the region
is unchanged. Prevent font-lock-beg or font-lock-end from being set to
nil in `markdown-font-lock-extend-region`.

This should hopefully fix recent hangs related to font-lock.
markdown-mode.el