diff options
author | Alan Mackenzie <acm@muc.de> | 2022-10-26 16:02:49 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-10-26 16:02:49 +0000 |
commit | b7e59b9e194ac287fe627ccb26159d2f6f04939b (patch) | |
tree | b397430cc8ba738a5621822a59ab9463abf3fd72 /test/lisp/emacs-lisp/memory-report-tests.el | |
parent | 5d46c0e329b90619b5e36beb376e9c73baf6c44e (diff) | |
download | emacs-b7e59b9e194ac287fe627ccb26159d2f6f04939b.tar.gz emacs-b7e59b9e194ac287fe627ccb26159d2f6f04939b.tar.bz2 emacs-b7e59b9e194ac287fe627ccb26159d2f6f04939b.zip |
c-find-decl-spots: Replace an arbitrary search limit by a parameter
The old arbitrary limit led to errors thrown whilst fontifying large areas of
syntactic whitespace containing "#undef", as in src/comp.c.
* lisp/progmodes/cc-engine.el (c-find-decl-spots): Replace the limit argument
to two calls of c-forward-syntactic-ws by the parameter `cfd-limit'.
Diffstat (limited to 'test/lisp/emacs-lisp/memory-report-tests.el')
0 files changed, 0 insertions, 0 deletions