diff options
| author | Noam Postavsky | 2018-08-09 21:26:30 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2018-09-04 18:50:15 -0400 |
| commit | 425c2811641a6b8ec4549cad5f6bd15a46bc95d5 (patch) | |
| tree | 18bdf8e19e80624d0c22fe6bba70e35a1e022c27 /etc | |
| parent | 21637d5e5b29d5ec8fb966c0ddfbfba3eb33da38 (diff) | |
| download | emacs-425c2811641a6b8ec4549cad5f6bd15a46bc95d5.tar.gz emacs-425c2811641a6b8ec4549cad5f6bd15a46bc95d5.zip | |
Allow t as a catch-all condition-case handler (Bug#24618)
* src/eval.c (find_handler_clause): Accept a handler of t as always
matching.
(Fcondition_case):
* doc/lispref/control.texi (Handling Errors): Document this.
* etc/NEWS: Announce it.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -875,6 +875,9 @@ removed. | |||
| 875 | ** lookup-key can take a list of keymaps as argument. | 875 | ** lookup-key can take a list of keymaps as argument. |
| 876 | 876 | ||
| 877 | +++ | 877 | +++ |
| 878 | ** 'condition-case' now accepts 't' to match any error symbol. | ||
| 879 | |||
| 880 | +++ | ||
| 878 | ** New function 'proper-list-p'. | 881 | ** New function 'proper-list-p'. |
| 879 | Given a proper list as argument, this predicate returns its length; | 882 | Given a proper list as argument, this predicate returns its length; |
| 880 | otherwise, it returns nil. 'format-proper-list-p' is now an obsolete | 883 | otherwise, it returns nil. 'format-proper-list-p' is now an obsolete |