From: Richard M. Stallman Date: Mon, 20 Jun 1994 17:07:22 +0000 (+0000) Subject: (Fmatching_paren): Fix typo. X-Git-Tag: emacs-19.34~7878 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a8bd7cd809dd88285e88b62204c3f38afe100b8d;p=emacs.git (Fmatching_paren): Fix typo. --- 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; }