branch: master commit 296f07ba4db049dede8be09501d3311efec7a846 Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com> Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Update sexps per pause. --- context-coloring.el | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/context-coloring.el b/context-coloring.el index 42c1e68..1e283ac 100644 --- a/context-coloring.el +++ b/context-coloring.el @@ -447,10 +447,13 @@ bound as variables.") (defvar context-coloring-parse-interruptable-p t "Set this to nil to force parse to continue until finished.") -(defconst context-coloring-elisp-sexps-per-pause 1000 +(defconst context-coloring-elisp-sexps-per-pause 350 "Pause after this many iterations to check for user input. If user input is pending, stop the parse. This makes for a -smoother user experience for large files.") +smoother user experience for large files. + +This number should trigger pausing at about 60 frames per +second.") (defvar context-coloring-elisp-sexp-count 0 "Current number of sexps leading up to the next pause.")