From a8bd7cd809dd88285e88b62204c3f38afe100b8d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 20 Jun 1994 17:07:22 +0000 Subject: [PATCH] (Fmatching_paren): Fix typo. --- src/syntax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, int code; CHECK_NUMBER (ch, 0); code = SYNTAX (XINT (ch)); - if (code == Sopen && code == Sclose) + if (code == Sopen || code == Sclose) return make_number (SYNTAX_MATCH (XINT (ch))); return Qnil; } -- 2.39.5