Function: matching-paren
matching-paren is a function defined in syntax.c.
Signature
(matching-paren CHARACTER)
Documentation
Return the matching parenthesis of CHARACTER, or nil if none.
Source Code
// Defined in /usr/src/emacs/src/syntax.c
{
int char_int;
enum syntaxcode code;
CHECK_CHARACTER (character);
char_int = XFIXNUM (character);
SETUP_BUFFER_SYNTAX_TABLE ();
code = SYNTAX (char_int);
if (code == Sopen || code == Sclose)
return SYNTAX_MATCH (char_int);
return Qnil;
}