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 | 6f554752a425976cb8f236659381cc6803ace828 (patch) | |
tree | dcde9dd08a07736ed64772755bfebbf3a491bc02 /lisp/paren.el | |
parent | f470d5375e54cb94b623f8629cf250423a15ed8f (diff) | |
download | emacs-6f554752a425976cb8f236659381cc6803ace828.tar.gz |
(show-paren-command-hook): Position show-paren-overlay-1
properly when first creating it (just like when moving it).
Diffstat (limited to 'lisp/paren.el')
-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. |