Mercurial > emacs
changeset 14543:77a1345ec9ca
(show-paren-command-hook): Position show-paren-overlay-1
properly when first creating it (just like when moving it).
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 11 Feb 1996 19:25:08 +0000 |
parents | 73e281e7b1aa |
children | ef07b51330af |
files | lisp/paren.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/paren.el Sun Feb 11 18:46:18 1996 +0000 +++ b/lisp/paren.el Sun Feb 11 19:25:08 1996 +0000 @@ -107,7 +107,7 @@ (+ (point) dir) (point) (current-buffer)) (setq show-paren-overlay-1 - (make-overlay (- pos dir) pos))) + (make-overlay (+ (point) dir) (point)))) ;; Always set the overlay face, since it varies. (overlay-put show-paren-overlay-1 'face face)) ;; Otherwise, turn off any such highlighting.