From 9f8a930d980e626fdd627694143b11f29ecd4f24 Mon Sep 17 00:00:00 2001 From: Jonathan Yavner Date: Sun, 30 Nov 2003 07:33:32 +0000 Subject: [PATCH] testcover.el: Changes to 1value and noreturn --- etc/NEWS | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index f256bd507c1..db255e880a4 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2012,8 +2012,11 @@ such as `error'. The brown splotches are skipped for forms that are expected to always evaluate to the same value, such as (setq x 14). *** For difficult cases, you can add do-nothing macros to your code to help -out the test coverage tool. The macro 1value suppresses a brown splotch for -its argument. The macro noreturn suppresses a red splotch. +out the test coverage tool. The macro `noreturn' suppresses a red splotch. +It is an error if the argument to `noreturn' does return. The macro 1value +suppresses a brown splotch for its argument. This macro is a no-op except +during test-coverage -- then it signals an error if the argument actually +returns differing values. +++ ** New function unsafep returns nil if the given Lisp form can't possibly -- 2.39.2