]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Make it scroll fast over buffers with only #define's
authorAlan Mackenzie <acm@muc.de>
Thu, 24 Nov 2022 10:51:03 +0000 (10:51 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 24 Nov 2022 10:51:03 +0000 (10:51 +0000)
commit3208a42c47c4f98cb03c4b15164ca83113244b40
tree5d0e8391eed6a5885083c6f0e5dec6f664e41f0d
parent005efce764c50f5fc68be84a7fb52565b9a2d2bc
CC Mode: Make it scroll fast over buffers with only #define's

* lisp/progmodes/cc-engine.el (c-forward-over-token): New LIMIT parameter

* lisp/progmodes/cc-langs.el (c-anchored-hash-define-no-parens): Replace
ill-formed regular expression (which mixed \\sw and character alternative)
with simpler efficient regexp.

* lisp/progmodes/cc-mode.el (c-fl-decl-end): New forward limit LIM+ used in
c-forward-declarator and c-forward-over-token.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el
lisp/progmodes/cc-mode.el