Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
776b7d5a
Commit
776b7d5a
authored
Jul 30, 1993
by
Richard M. Stallman
Browse files
(show-paren-command-hook): Specify buffer for move-overay.
parent
362a07f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lisp/paren.el
lisp/paren.el
+5
-2
No files found.
lisp/paren.el
View file @
776b7d5a
...
...
@@ -96,7 +96,9 @@
;; before point as well as its matching open.
(
progn
(
if
show-paren-overlay-1
(
move-overlay
show-paren-overlay-1
(
+
(
point
)
dir
)
(
point
))
(
move-overlay
show-paren-overlay-1
(
+
(
point
)
dir
)
(
point
)
(
current-buffer
))
(
setq
show-paren-overlay-1
(
make-overlay
(
-
pos
dir
)
pos
)))
(
overlay-put
show-paren-overlay-1
'face
face
))
...
...
@@ -106,7 +108,8 @@
(
delete-overlay
show-paren-overlay-1
)))
;; Turn on highlighting for the matching paren.
(
if
show-paren-overlay
(
move-overlay
show-paren-overlay
(
-
pos
dir
)
pos
)
(
move-overlay
show-paren-overlay
(
-
pos
dir
)
pos
(
current-buffer
))
(
setq
show-paren-overlay
(
make-overlay
(
-
pos
dir
)
pos
)))
(
overlay-put
show-paren-overlay
'face
face
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment