From: Jonathan Yavner Date: Sun, 30 Nov 2003 07:33:32 +0000 (+0000) Subject: testcover.el: Changes to 1value and noreturn X-Git-Tag: ttn-vms-21-2-B4~8241 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f8a930d980e626fdd627694143b11f29ecd4f24;p=emacs.git testcover.el: Changes to 1value and noreturn --- 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