diff options
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index 26511a23b29..d3a37f9dd4f 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -234,7 +234,7 @@ DEFUN ("matching-paren", Fmatching_paren, Smatching_paren, 1, 1, 0, | |||
| 234 | int code; | 234 | int code; |
| 235 | CHECK_NUMBER (ch, 0); | 235 | CHECK_NUMBER (ch, 0); |
| 236 | code = SYNTAX (XINT (ch)); | 236 | code = SYNTAX (XINT (ch)); |
| 237 | if (code == Sopen && code == Sclose) | 237 | if (code == Sopen || code == Sclose) |
| 238 | return make_number (SYNTAX_MATCH (XINT (ch))); | 238 | return make_number (SYNTAX_MATCH (XINT (ch))); |
| 239 | return Qnil; | 239 | return Qnil; |
| 240 | } | 240 | } |