GNU bug report logs -
#13529
24.3.50; wrong-type-argument with show-paren-mode
Previous Next
Reported by: Aaron Ecay <aaronecay <at> gmail.com>
Date: Wed, 23 Jan 2013 00:04:02 UTC
Severity: normal
Merged with 13548
Found in version 24.3.50
Done: Bastien <bzg <at> altern.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 13529-done <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 12 years and 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.