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
cde4c890
Commit
cde4c890
authored
Jun 23, 1994
by
Richard M. Stallman
Browse files
(show-paren-command-hook): Handle close paren rather than open paren
if point is between the two.
parent
fc60327e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lisp/paren.el
lisp/paren.el
+4
-4
No files found.
lisp/paren.el
View file @
cde4c890
...
...
@@ -48,10 +48,10 @@
(
if
(
and
window-system
(
not
executing-kbd-macro
)
(
sit-for
0
))
(
let
(
pos
dir
mismatch
(
oldpos
(
point
))
(
face
show-paren-face
))
(
cond
((
eq
(
char-syntax
(
follow
ing-char
))
?\
(
)
(
setq
dir
1
))
((
eq
(
char-syntax
(
preced
ing-char
))
?\
)
)
(
setq
dir
-
1
)))
(
cond
((
eq
(
char-syntax
(
preced
ing-char
))
?\
)
)
(
setq
dir
-
1
))
((
eq
(
char-syntax
(
follow
ing-char
))
?\
(
)
(
setq
dir
1
)))
(
if
dir
(
save-excursion
(
save-restriction
...
...
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