[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68075: 30.0.50; New special form `handler-bind`
From: |
Ihor Radchenko |
Subject: |
bug#68075: 30.0.50; New special form `handler-bind` |
Date: |
Thu, 28 Dec 2023 18:25:51 +0000 |
Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
> I'm trying to explain that when looking for a handler, we look both for
> condition-case handler and handler-bind handlers and we use whichever is
> "closest", i.e. more deeply nested. So just like a local
> `condition-case` overrides temporarily an outer one, the same holds not
> only among `handler-bind`s but also between `condition-case` and
> `handler-bind` as well.
Then, it would also make sense to make `condition-case' and
`handler-bind' refer to each other from the docstrings.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>