Mercurial > emacs
comparison src/syntax.c @ 7975:49dc4ea976a0
(Fmatching_paren): Fix typo.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 20 Jun 1994 17:07:22 +0000 |
| parents | a6372621abd9 |
| children | 18c2ad4ddc83 |
comparison
equal
deleted
inserted
replaced
| 7974:de3b4f95a9db | 7975:49dc4ea976a0 |
|---|---|
| 232 Lisp_Object ch; | 232 Lisp_Object ch; |
| 233 { | 233 { |
| 234 int code; | 234 int code; |
| 235 CHECK_NUMBER (ch, 0); | 235 CHECK_NUMBER (ch, 0); |
| 236 code = SYNTAX (XINT (ch)); | 236 code = SYNTAX (XINT (ch)); |
| 237 if (code == Sopen && code == Sclose) | 237 if (code == Sopen || code == Sclose) |
| 238 return make_number (SYNTAX_MATCH (XINT (ch))); | 238 return make_number (SYNTAX_MATCH (XINT (ch))); |
| 239 return Qnil; | 239 return Qnil; |
| 240 } | 240 } |
| 241 | 241 |
| 242 /* This comment supplies the doc string for modify-syntax-entry, | 242 /* This comment supplies the doc string for modify-syntax-entry, |
