summaryrefslogtreecommitdiff
path: root/lisp/paren.el
diff options
context:
space:
mode:
authorVinicius Jose Latorre <viniciusjl@ig.com.br>2006-12-01 21:03:19 +0000
committerVinicius Jose Latorre <viniciusjl@ig.com.br>2006-12-01 21:03:19 +0000
commit6d0189ea43fb9b521ff35404769a21600f3eccb3 (patch)
treee1a7b89c9b1c4838b2234d54fc7157939aaa8522 /lisp/paren.el
parent1ba9e462ed27bb1a4349db3e81b4e6ac00e28ed0 (diff)
downloademacs-6d0189ea43fb9b521ff35404769a21600f3eccb3.tar.gz
Fix the highlight overlay extension
Diffstat (limited to 'lisp/paren.el')
-rw-r--r--lisp/paren.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/paren.el b/lisp/paren.el
index 29506174c6b..fe928045765 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -220,7 +220,7 @@ in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time."
(point))))
(if show-paren-overlay-1
(move-overlay show-paren-overlay-1 from to (current-buffer))
- (setq show-paren-overlay-1 (make-overlay from to)))
+ (setq show-paren-overlay-1 (make-overlay from to nil t)))
;; Always set the overlay face, since it varies.
(overlay-put show-paren-overlay-1 'priority show-paren-priority)
(overlay-put show-paren-overlay-1 'face face)))
@@ -243,7 +243,7 @@ in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time."
(forward-point (- dir))))))
(if show-paren-overlay
(move-overlay show-paren-overlay from to (current-buffer))
- (setq show-paren-overlay (make-overlay from to))))
+ (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)