]> git.eshelyaron.com Git - emacs.git/commit
Check result from c-backward-token-2 to avoid infinite loop
authorAlan Mackenzie <acm@muc.de>
Thu, 20 Dec 2018 12:21:16 +0000 (12:21 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 20 Dec 2018 12:21:16 +0000 (12:21 +0000)
commit081fb694c3f88e77d4a0e09fba8ce457037b9132
treeb2f42c6a28eeadfd95733fcf4b3fad52875a4083
parentf4ea7464516b22409f429e98595b97cbf8220f4c
Check result from c-backward-token-2 to avoid infinite loop

This fixes bug #33784.

* lisp/progmodes/cc-fonts.el (c-get-fontification-context): While moving back
over enclosing parentheses, check that c-backward-token-2 actually moves.
lisp/progmodes/cc-fonts.el