branch: elpa/highlight-parentheses commit ce95ed58b26a760993b8d6cc3368e63936a99c24 Author: Nikolaj Schumacher <g...@nschum.de> Commit: Nikolaj Schumacher <g...@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)