1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(show-paren-command-hook): Position show-paren-overlay-1

properly when first creating it (just like when moving it).
This commit is contained in:
Richard M. Stallman 1996-02-11 19:25:08 +00:00
parent f470d5375e
commit 6f554752a4

View file

@ -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.