Eli Za=
retskii <
eliz@gnu.org> schrieb am=
So., 20. Dez. 2015 um 16:47=C2=A0Uhr:
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 19 Dec 2015 22:57:14 +0000
> Cc: dancol@danc=
ol.org, tzz@lifel=
ogs.com, aurelien.aptel+emacs@gmail.com,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0emacs-devel@gnu.org
>
> Added another patch that documents some of the assumptions about non-l=
ocal
> exits. I've added them directly to lisp.h so that people changing =
these
> definitions will hopefully notice.
Thanks, but please mention in these comments that emacs-module.c
relies on these requirements.
Done. Attached new patch.=C2=A0
<=
/div>
--089e0102def48a20610527589ee0--
--089e0102def48a20650527589ee2
Content-Type: application/octet-stream;
name="0001-Document-assumptions-about-non-local-exits.patch"
Content-Disposition: attachment;
filename="0001-Document-assumptions-about-non-local-exits.patch"
Content-Transfer-Encoding: base64
Content-ID: <151c0ab7a561386d4821>
X-Attachment-Id: 151c0ab7a561386d4821
RnJvbSBhNWM4OTExY2FlNjc2MTcwMDJhOTc0M2UxOWI2YzlhYzc0OGZiODg5IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXBwIFN0ZXBoYW5pIDxwaHN0QGdvb2dsZS5jb20+CkRh
dGU6IFNhdCwgMTkgRGVjIDIwMTUgMjM6NTE6NTIgKzAxMDAKU3ViamVjdDogW1BBVENIXSBEb2N1
bWVudCBhc3N1bXB0aW9ucyBhYm91dCBub24tbG9jYWwgZXhpdHMuCgoqIGxpc3AuaDogRG9jdW1l
bnQgYXNzdW1wdGlvbnMgYWJvdXQgRVEgYW5kIE5JTFAuCgoqIGVtYWNzLW1vZHVsZS5jIChtb2R1
bGVfbm9uX2xvY2FsX2V4aXRfZ2V0KTogRG9jdW1lbnQgdGhhdCB3ZQpjYW5ub3QgdXNlIHRoZSBj
dXJyZW50IGltcGxlbWVudGF0aW9uLgoobW9kdWxlX2lzX25vdF9uaWwsIG1vZHVsZV9lcSk6IER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