1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00

(Fmatching_paren): Fix typo.

This commit is contained in:
Richard M. Stallman 1994-06-20 17:07:22 +00:00
parent 27ae9a27cc
commit a8bd7cd809

View 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;
}