Commit a8bd7cd8 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fmatching_paren): Fix typo.

parent 27ae9a27
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment