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:
parent
27ae9a27cc
commit
a8bd7cd809
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue