diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-02-11 19:25:08 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-02-11 19:25:08 +0000 |
commit | e42962ca02d7b3d2d913e85a7753db698db111dd (patch) | |
tree | 7f1af2e7686551e860531b661acf89295e07ae52 | |
parent | 9001de4b03755640831fd8234d8b093efb35b613 (diff) | |
download | emacs-e42962ca02d7b3d2d913e85a7753db698db111dd.tar.gz |
(show-paren-command-hook): Position show-paren-overlay-1
properly when first creating it (just like when moving it).
-rw-r--r-- | lisp/paren.el | 2 |
1 files changed, 1 insertions, 1 deletions
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. |