]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fmatching_paren): Fix typo.
authorRichard M. Stallman <rms@gnu.org>
Mon, 20 Jun 1994 17:07:22 +0000 (17:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 20 Jun 1994 17:07:22 +0000 (17:07 +0000)
src/syntax.c

index 26511a23b29ec9ef8f1683353e2fe2920b20b390..d3a37f9dd4f90cd8af14ee446299eb1503122518 100644 (file)
@@ -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;
 }