From: Richard M. Stallman Date: Sun, 11 Feb 1996 19:25:08 +0000 (+0000) Subject: (show-paren-command-hook): Position show-paren-overlay-1 X-Git-Tag: emacs-19.34~1317 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f554752a425976cb8f236659381cc6803ace828;p=emacs.git (show-paren-command-hook): Position show-paren-overlay-1 properly when first creating it (just like when moving it). --- diff --git a/lisp/paren.el b/lisp/paren.el index 3801ae65b70..fffbbc8a938 100644 --- a/lisp/paren.el +++ b/lisp/paren.el @@ -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.