diff options
| author | Alan Mackenzie | 2016-06-23 16:12:45 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2016-06-23 16:12:45 +0000 |
| commit | 7a20ebe5ca884954e34c5129f70c211fef266369 (patch) | |
| tree | e045011fd9b5f8272b4cfff7960a91e42b2b1596 /src | |
| parent | 11a17619737b16d10bfad03b52097943eebc517f (diff) | |
| download | emacs-7a20ebe5ca884954e34c5129f70c211fef266369.tar.gz emacs-7a20ebe5ca884954e34c5129f70c211fef266369.zip | |
Make typing into incomplete C++ raw strings work, and make it work fast enough
* lisp/progmodes/cc-engine.el (c-beginning-of-macro, c-state-pp-to-literal):
Put `save-match-data' around calls to `looking-at' to enable the use of the
match data in higher level functions.
* lisp/progmodes/cc-fonts.el (c-font-lock-declarations)
(c-font-lock-cut-off-declarators): Use `limit' rather than `(point-max)' as a
limit to speed up handling of C++ raw strings.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions