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

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

[nongnu] elpa/highlight-parentheses ce95ed5 08/49: Fixed bug causing las


From: ELPA Syncer
Subject: [nongnu] elpa/highlight-parentheses ce95ed5 08/49: Fixed bug causing last color not to be displayed.
Date: Sun, 15 Aug 2021 03:57:43 -0400 (EDT)

branch: elpa/highlight-parentheses
commit ce95ed58b26a760993b8d6cc3368e63936a99c24
Author: Nikolaj Schumacher <git@nschum.de>
Commit: Nikolaj Schumacher <git@nschum.de>

    Fixed bug causing last color not to be displayed.
---
 highlight-parentheses.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/highlight-parentheses.el b/highlight-parentheses.el
index 112d0ec..3618522 100644
--- a/highlight-parentheses.el
+++ b/highlight-parentheses.el
@@ -32,6 +32,8 @@
 ;;
 ;;; Change Log:
 ;;
+;;    Fixed bug causing last color not to be displayed.
+;;
 ;; 2009-03-19 (1.0.1)
 ;;    Added setter for color variables.
 ;;
@@ -100,7 +102,7 @@ This is used to prevent analyzing the same context over and 
over.")
       (save-excursion
         (condition-case err
             (while (and (setq pos1 (cadr (syntax-ppss pos1)))
-                        (cddr overlays))
+                        (cdr overlays))
               (move-overlay (pop overlays) pos1 (1+ pos1))
               (when (setq pos2 (scan-sexps pos1 1))
                 (move-overlay (pop overlays) (1- pos2) pos2)



reply via email to

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