Unmark buffer modified at markdown-unfontify-region-wiki-links (#146)
commitc5f9265edf698017e64c69e32fb1d137a7bfc39e
authornibble <jdonaire@gmail.com>
Wed, 29 Jun 2016 11:59:35 +0000 (29 13:59 +0200)
committerJason Blevins <jrblevin@sdf.org>
Wed, 29 Jun 2016 11:59:35 +0000 (29 07:59 -0400)
treeda965316ca939315a840a6cb7d56c03159785c33
parent0b907b9a89171d642f9c55e86a6cb7f21135afc9
Unmark buffer modified at markdown-unfontify-region-wiki-links (#146)

In Emacs 24.3 some `remove-text-properties` calls, like the ones in
`markdown-unfontify-region-wiki-links`, mark the buffer modified. This
function is invoked by default from `markdown-mode`, and so it makes
that a Markdown buffer is marked modified just by visiting a file or
changing to this major mode.

This change unsets the buffer modified mark if it wasn't previously set.
markdown-mode.el