diff options
author | Alan Mackenzie <acm@muc.de> | 2022-07-02 16:12:59 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-07-02 16:12:59 +0000 |
commit | dc3d01a5aff4017ac071bf7f72ab4df493d2b2f6 (patch) | |
tree | 734bde0249208a6a3c8859e8608c6c6ad8fe9c77 /lib/count-one-bits.c | |
parent | e390396e684c99b4b0b27aa2e0bc1822d8854550 (diff) | |
download | emacs-dc3d01a5aff4017ac071bf7f72ab4df493d2b2f6.tar.gz emacs-dc3d01a5aff4017ac071bf7f72ab4df493d2b2f6.tar.bz2 emacs-dc3d01a5aff4017ac071bf7f72ab4df493d2b2f6.zip |
CC Mode: Fix a c-backward-token-2 call wrongly jumping back over macros.
This fixes bug #56256.
* lisp/progmodes/cc-fonts.el (c-font-lock-c++-lambda-captures): Replace a
c-backward-token-2, which could jump back too far leading to an infinite
loop, with a save-excursion to remember the point we've got to go back to.
Diffstat (limited to 'lib/count-one-bits.c')
0 files changed, 0 insertions, 0 deletions