From 6f554752a425976cb8f236659381cc6803ace828 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 11 Feb 1996 19:25:08 +0000 Subject: [PATCH] (show-paren-command-hook): Position show-paren-overlay-1 properly when first creating it (just like when moving it). --- lisp/paren.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2