Don't return point which is larger than point-max
commit360a7bb370e81fa372dd4fde88b9deb3915f8fd0
authorSyohei YOSHIDA <syohex@gmail.com>
Fri, 27 May 2016 08:10:22 +0000 (27 17:10 +0900)
committerSyohei YOSHIDA <syohex@gmail.com>
Fri, 27 May 2016 08:10:22 +0000 (27 17:10 +0900)
treeb523477d6a32bc45266f0594e5f56dd942011742
parentc560ddd51b6066aeea47c9f1cd2f54474745ed10
Don't return point which is larger than point-max

Original code sometimes returns point larger than point-max, then
syntax-propertize function raises args-out-of-range signal.
markdown-mode.el