emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master f482c62 035/271: Use remove-text-properties as a temporary


From: Jackson Ray Hamilton
Subject: [elpa] master f482c62 035/271: Use remove-text-properties as a temporary comment fix.
Date: Thu, 05 Feb 2015 18:29:35 +0000

branch: master
commit f482c62e35263e801259edfa12aa24c956d7399d
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]