summaryrefslogtreecommitdiff
path: root/lib/count-trailing-zeros.h
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2019-04-30 13:20:22 +0000
committerAlan Mackenzie <acm@muc.de>2019-04-30 13:20:22 +0000
commit28853721681436a4e0adecce1df428feec4f3211 (patch)
tree8efc742e4ecdc5e50a42bc90599f1190b7476d3a /lib/count-trailing-zeros.h
parentc61bbb4c8e7e2f2068c1cfac9a001806a1969202 (diff)
downloademacs-28853721681436a4e0adecce1df428feec4f3211.tar.gz
emacs-28853721681436a4e0adecce1df428feec4f3211.tar.bz2
emacs-28853721681436a4e0adecce1df428feec4f3211.zip
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.
Diffstat (limited to 'lib/count-trailing-zeros.h')
0 files changed, 0 insertions, 0 deletions