summaryrefslogtreecommitdiff
path: root/libguile/regex-posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/regex-posix.c')
-rw-r--r--libguile/regex-posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/regex-posix.c b/libguile/regex-posix.c
index ea4d6bad5..3fb2ba61a 100644
--- a/libguile/regex-posix.c
+++ b/libguile/regex-posix.c
@@ -139,7 +139,7 @@ GUILE_PROC (scm_regexp_p, "regexp?", 1, 0, 0,
@code{#f} otherwise.")
#define FUNC_NAME s_scm_regexp_p
{
- return SCM_BOOL(SCM_NIMP (x) && SCM_RGXP (x));
+ return SCM_BOOL(SCM_RGXP (x));
}
#undef FUNC_NAME