]> git.eshelyaron.com Git - emacs.git/commit
First steps in cacheing comments in a text property.
authorAlan Mackenzie <acm@muc.de>
Sat, 5 Mar 2016 15:04:03 +0000 (15:04 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 8 Mar 2016 13:17:14 +0000 (13:17 +0000)
commit298a0e24abba950bf62edd5c4975f387134a9f9a
tree7f5ae2d3cc8e6060a659981b0f73564773fc9b27
parent80864c2a04597d31ba453c9af69d35b15c4e1e24
First steps in cacheing comments in a text property.

* src/syntax.c (internalize_parse_state): New function.
(scan_sexps_forward): Remove stuff now done in the above.  Adapt parameter
list.  Add code conditionally to apply `comment-depth' text properties.
(Fparse_partial_sexp, back_comment): Call internalize_parse_state.
(comment-depth, comment-depth-hwm, comment-cacheing-flag): New symbol,
variables.
src/syntax.c