branch: master
commit f482c62e35263e801259edfa12aa24c956d7399d
Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>

    Use remove-text-properties as a temporary comment fix.
---
 context-coloring.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/context-coloring.el b/context-coloring.el
index 42dc67a..755c67c 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -133,6 +133,7 @@ For example: \"context-coloring-depth-1-face\"."
 (defun context-coloring-apply-tokens (tokens)
   "Processes TOKENS to apply context-based coloring to the current buffer."
   (with-silent-modifications
+    (remove-text-properties (point-min) (point-max) `(face nil rear-nonsticky 
nil))
     (dolist (token tokens)
       (let ((start (cdr (assoc 's token)))
             (end (cdr (assoc 'e token)))

Reply via email to