aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorNoam Postavsky2018-08-09 21:26:30 -0400
committerNoam Postavsky2018-09-04 18:50:15 -0400
commit425c2811641a6b8ec4549cad5f6bd15a46bc95d5 (patch)
tree18bdf8e19e80624d0c22fe6bba70e35a1e022c27 /etc
parent21637d5e5b29d5ec8fb966c0ddfbfba3eb33da38 (diff)
downloademacs-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 1fe662ffffd..f66bcb11383 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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'.
879Given a proper list as argument, this predicate returns its length; 882Given a proper list as argument, this predicate returns its length;
880otherwise, it returns nil. 'format-proper-list-p' is now an obsolete 883otherwise, it returns nil. 'format-proper-list-p' is now an obsolete