branch: master commit 3d91840f31614247b6b3564aaecbf4466d663245 Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com> Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Remove `context-coloring-benchmark-colorization'. --- context-coloring.el | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/context-coloring.el b/context-coloring.el index 47cb00b..b9f5cc4 100644 --- a/context-coloring.el +++ b/context-coloring.el @@ -412,22 +412,14 @@ elisp tracks, and asynchronously for shell command tracks." ;;; Colorization -(defcustom context-coloring-benchmark-colorization nil - "If non-nil, track how long colorization takes and print -messages with the colorization duration." - :group 'context-coloring) - (defun context-coloring-colorize (&optional callback) "Color the current buffer by function context. Invoke CALLBACK when complete; see `context-coloring-dispatch'." (interactive) - (let ((start-time (float-time))) - (context-coloring-dispatch - (lambda () - (when context-coloring-benchmark-colorization - (message "Colorization took %.3f seconds" (- (float-time) start-time))) - (when callback (funcall callback)))))) + (context-coloring-dispatch + (lambda () + (when callback (funcall callback))))) (defvar-local context-coloring-changed nil "Indication that the buffer has changed recently, which implies