diff options
| author | Vinicius Jose Latorre | 2006-12-01 21:03:19 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2006-12-01 21:03:19 +0000 |
| commit | f9914209c8c0a7dad6a29defb2cf3c6664d6dc8a (patch) | |
| tree | 9dc9022ff4db426c7afa83bba9f446adb84344d0 | |
| parent | e1fb4a0b21c70a77654a00428ac6791d98fc9d08 (diff) | |
| download | emacs-f9914209c8c0a7dad6a29defb2cf3c6664d6dc8a.tar.gz emacs-f9914209c8c0a7dad6a29defb2cf3c6664d6dc8a.zip | |
Fix the highlight overlay extension
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/paren.el | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fd3a2a50103..cc1982b69c6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | 4 | ||
| 5 | 2006-12-01 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | 2006-12-01 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 6 | 6 | ||
| 7 | * paren.el: Fix the highlight overlay extension when the user types a | ||
| 8 | sequence of char very fast just after the open parenthesis. | ||
| 9 | Suggested by Ben North <ben@redfrontdoor.org>. | ||
| 10 | |||
| 7 | * ps-mule.el: Eliminate Emacs 20 compatibility. | 11 | * ps-mule.el: Eliminate Emacs 20 compatibility. |
| 8 | 12 | ||
| 9 | * ps-print.el: Eliminate Emacs 20 & 21 compatibility. | 13 | * ps-print.el: Eliminate Emacs 20 & 21 compatibility. |
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." | |||
| 220 | (point)))) | 220 | (point)))) |
| 221 | (if show-paren-overlay-1 | 221 | (if show-paren-overlay-1 |
| 222 | (move-overlay show-paren-overlay-1 from to (current-buffer)) | 222 | (move-overlay show-paren-overlay-1 from to (current-buffer)) |
| 223 | (setq show-paren-overlay-1 (make-overlay from to))) | 223 | (setq show-paren-overlay-1 (make-overlay from to nil t))) |
| 224 | ;; Always set the overlay face, since it varies. | 224 | ;; Always set the overlay face, since it varies. |
| 225 | (overlay-put show-paren-overlay-1 'priority show-paren-priority) | 225 | (overlay-put show-paren-overlay-1 'priority show-paren-priority) |
| 226 | (overlay-put show-paren-overlay-1 'face face))) | 226 | (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." | |||
| 243 | (forward-point (- dir)))))) | 243 | (forward-point (- dir)))))) |
| 244 | (if show-paren-overlay | 244 | (if show-paren-overlay |
| 245 | (move-overlay show-paren-overlay from to (current-buffer)) | 245 | (move-overlay show-paren-overlay from to (current-buffer)) |
| 246 | (setq show-paren-overlay (make-overlay from to)))) | 246 | (setq show-paren-overlay (make-overlay from to nil t)))) |
| 247 | ;; | 247 | ;; |
| 248 | ;; Always set the overlay face, since it varies. | 248 | ;; Always set the overlay face, since it varies. |
| 249 | (overlay-put show-paren-overlay 'priority show-paren-priority) | 249 | (overlay-put show-paren-overlay 'priority show-paren-priority) |