]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: in certain font lock loops, check point is not beyond limit.
authorAlan Mackenzie <acm@muc.de>
Tue, 30 Apr 2019 13:20:22 +0000 (13:20 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 30 Apr 2019 13:20:22 +0000 (13:20 +0000)
commit28853721681436a4e0adecce1df428feec4f3211
tree8efc742e4ecdc5e50a42bc90599f1190b7476d3a
parentc61bbb4c8e7e2f2068c1cfac9a001806a1969202
CC Mode: in certain font lock loops, check point is not beyond limit.

* /lisp/progmodes/cc-fonts.el (c-font-lock-enum-body)
(autodoc-font-lock-line-markup): As part of the `while' condition, check that
the previous iteration of the loop hasn't moved point past `limit', thus
obviating "wrong side of point" errors in re-search-forward, etc.
lisp/progmodes/cc-fonts.el