summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/benchmark.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2016-08-25 16:21:55 +0000
committerAlan Mackenzie <acm@muc.de>2016-08-25 16:21:55 +0000
commit93c67f6b2c98ab69e25d2ca7417bcf6c15a165db (patch)
treee93367ebdc233f2097be01ca3bed05e67a9d9e4b /lisp/emacs-lisp/benchmark.el
parent5e84dcefb4b7fcf3b5af985345ed1ee5ef5df135 (diff)
downloademacs-93c67f6b2c98ab69e25d2ca7417bcf6c15a165db.tar.gz
Fix an infinite loop in C++ Mode when we have "{ .... [ .... }"
* lisp/progmodes/cc-fonts.el (c-font-lock-c++-lambda-captures): In the inner `while' form's condition, check for "\\s)" rather than merely "\\]", so that the loop won't hang at a "terminating" paren of a different type (due to the c-syntactic-re-search-forward at the end of the loop stopping at such characters).
Diffstat (limited to 'lisp/emacs-lisp/benchmark.el')
0 files changed, 0 insertions, 0 deletions