From 8e1e8099aad0fbb2bc375b45379913b8ca55e926 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 1 May 2024 22:49:01 +0200 Subject: [PATCH] * etc/NEWS (Function type declaration): Add entry. --- etc/NEWS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 4b0106fcb07..73dbe3b2b83 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1935,6 +1935,10 @@ unibyte string. * Lisp Changes in Emacs 30.1 +** Function type declaration +It is now possible, using the 'declare' macro, to declare expected types +of function arguments and return type. + ** New types 'closure' and 'interpreted-function'. 'interpreted-function' is the new type used for interpreted functions, and 'closure' is the common parent type of 'interpreted-function' -- 2.30.2