aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/control.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index de6cd9301ff..e98daf66e98 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -2154,6 +2154,18 @@ Here's the example at the beginning of this subsection rewritten using
2154@end example 2154@end example
2155@end defmac 2155@end defmac
2156 2156
2157@defmac ignore-error condition body@dots{}
2158This macro is like @code{ignore-errors}, but will only ignore the
2159specific error condition specified.
2160
2161@example
2162 (ignore-error end-of-file
2163 (read ""))
2164@end example
2165
2166@var{condition} can also be a list of error conditions.
2167@end defmac
2168
2157@defmac with-demoted-errors format body@dots{} 2169@defmac with-demoted-errors format body@dots{}
2158This macro is like a milder version of @code{ignore-errors}. Rather 2170This macro is like a milder version of @code{ignore-errors}. Rather
2159than suppressing errors altogether, it converts them into messages. 2171than suppressing errors altogether, it converts them into messages.