[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13529: 24.3.50; wrong-type-argument with show-paren-mode
From: |
Aaron Ecay |
Subject: |
bug#13529: 24.3.50; wrong-type-argument with show-paren-mode |
Date: |
Thu, 24 Jan 2013 14:45:51 -0500 |
User-agent: |
Notmuch/0.14+247~g7fad82b (http://notmuchmail.org) Emacs/24.3.50.6 (x86_64-unknown-linux-gnu) |
Bastien,
Thanks for the fix. The git checkout I was working from was just a few
commits behind it.
I am however still getting a different error with your patch. It looks
like the new (if (integerp ...) ...) excluded a couple of overlay-put
calls it should have included. See if this patch looks good to you
(applied on top of yours).
diff --git i/lisp/paren.el w/lisp/paren.el
index bf2238d..a9d3be6 100644
--- i/lisp/paren.el
+++ w/lisp/paren.el
@@ -259,11 +259,10 @@ matching parenthesis is highlighted in `show-paren-style'
after
(- (point) dir)))))
(if show-paren-overlay
(move-overlay show-paren-overlay from to (current-buffer))
- (setq show-paren-overlay (make-overlay from to nil t)))))
- ;;
- ;; Always set the overlay face, since it varies.
- (overlay-put show-paren-overlay 'priority show-paren-priority)
- (overlay-put show-paren-overlay 'face face)))
+ (setq show-paren-overlay (make-overlay from to nil t))))
+ ;; Always set the overlay face, since it varies.
+ (overlay-put show-paren-overlay 'priority show-paren-priority)
+ (overlay-put show-paren-overlay 'face face))))
;; show-paren-mode is nil in this buffer.
(and show-paren-overlay
(delete-overlay show-paren-overlay))
--
Aaron Ecay