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

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

[nongnu] elpa/rainbow-delimiters 8dded7ba49 010/188: Bugfix: Removing te


From: ELPA Syncer
Subject: [nongnu] elpa/rainbow-delimiters 8dded7ba49 010/188: Bugfix: Removing text properties using re-search-forward can now go to point-max instead of (1- (point-max)), apparently thanks to a change in Emacs CVS.
Date: Sat, 1 Jan 2022 00:58:48 -0500 (EST)

branch: elpa/rainbow-delimiters
commit 8dded7ba49244e6899863f99bb3db2a2a62437de
Author: Jeremy L. Rayman <jeremy.rayman@gmail.com>
Commit: Jeremy L. Rayman <jeremy.rayman@gmail.com>

    Bugfix: Removing text properties using re-search-forward can now go to 
point-max instead of (1- (point-max)), apparently thanks to a change in Emacs 
CVS.
---
 rainbow-delimiters.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index c88d1ad895..315cf89020 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -463,7 +463,7 @@ Used by jit-lock for dynamic highlighting."
   (if (not rainbow-delimiters-mode)
       (progn
         (jit-lock-unregister 'rainbow-delimiters-propertize-region)
-        (rainbow-delimiters-unpropertize-region (point-min) (1- (point-max))))
+        (rainbow-delimiters-unpropertize-region (point-min) (point-max)))
     (jit-lock-register 'rainbow-delimiters-propertize-region t)))
 
 ;;;###autoload



reply via email to

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