diff options
| author | Jonathan Yavner | 2003-11-30 07:33:32 +0000 |
|---|---|---|
| committer | Jonathan Yavner | 2003-11-30 07:33:32 +0000 |
| commit | 9f8a930d980e626fdd627694143b11f29ecd4f24 (patch) | |
| tree | 993e52d11bee5573241191cf26a64d8bda1f4964 /etc | |
| parent | 01a9e5933da0f45101161d0572ad77bd6da66cbc (diff) | |
| download | emacs-9f8a930d980e626fdd627694143b11f29ecd4f24.tar.gz emacs-9f8a930d980e626fdd627694143b11f29ecd4f24.zip | |
testcover.el: Changes to 1value and noreturn
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -2012,8 +2012,11 @@ such as `error'. The brown splotches are skipped for forms that are expected | |||
| 2012 | to always evaluate to the same value, such as (setq x 14). | 2012 | to always evaluate to the same value, such as (setq x 14). |
| 2013 | 2013 | ||
| 2014 | *** For difficult cases, you can add do-nothing macros to your code to help | 2014 | *** For difficult cases, you can add do-nothing macros to your code to help |
| 2015 | out the test coverage tool. The macro 1value suppresses a brown splotch for | 2015 | out the test coverage tool. The macro `noreturn' suppresses a red splotch. |
| 2016 | its argument. The macro noreturn suppresses a red splotch. | 2016 | It is an error if the argument to `noreturn' does return. The macro 1value |
| 2017 | suppresses a brown splotch for its argument. This macro is a no-op except | ||
| 2018 | during test-coverage -- then it signals an error if the argument actually | ||
| 2019 | returns differing values. | ||
| 2017 | 2020 | ||
| 2018 | +++ | 2021 | +++ |
| 2019 | ** New function unsafep returns nil if the given Lisp form can't possibly | 2022 | ** New function unsafep returns nil if the given Lisp form can't possibly |