From 60845174eb59271e85041389a57c266e69309d75 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 13 Oct 2020 19:30:31 +0300 Subject: [PATCH] * etc/NEWS: Mention 'make_unibyte_string'; reformat modules entries. --- etc/NEWS | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index aab96cae8fd..6abf6c5ae5d 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1576,23 +1576,29 @@ file mode specification into symbolic form. ** The variable 'force-new-style-backquotes' has been removed. This removes the final remaining trace of old-style backquotes. -** The module header 'emacs-module.h' now contains type aliases +** Changes in handling dynamic modules + +*** The module header 'emacs-module.h' now contains type aliases 'emacs_function' and 'emacs_finalizer' for module functions and finalizers, respectively. -** Module functions can now be made interactive. +*** Module functions can now be made interactive. Use 'make_interactive' to give a module function an interactive specification. -** Module functions can now install an optional finalizer that is +*** Module functions can now install an optional finalizer that is called when the function object is garbage-collected. Use 'set_function_finalizer' to set the finalizer and 'get_function_finalizer' to retrieve it. -** Modules can now open a channel to an existing pipe process using +*** Modules can now open a channel to an existing pipe process using the new module function 'open_channel'. Modules can use this functionality to asynchronously send data back to Emacs. +*** A new module API 'make_unibyte_string' is provided. +It can be used to create Lisp strings with arbitrary byte sequences +(a.k.a. "raw bytes"). + ** 'file-modes', 'set-file-modes', and 'set-file-times' now have an optional argument specifying whether to follow symbolic links. -- 2.39.5