aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Stephani2019-12-25 18:03:26 +0100
committerPhilipp Stephani2019-12-25 18:03:26 +0100
commit5f550572febf76d9d95da45c800fedf2e1aadc82 (patch)
tree7f3ad66c7c8d9cb775ed3a29ad1ae45e7dcba81a
parent19b28abc9bc9a756f2e37465cc5632ffb48df637 (diff)
downloademacs-5f550572febf76d9d95da45c800fedf2e1aadc82.tar.gz
emacs-5f550572febf76d9d95da45c800fedf2e1aadc82.zip
Add some documentation for support of .dylib suffix on macOS
* doc/lispref/loading.texi (Dynamic Modules): * etc/NEWS: Document that dynamic module files on macOS can now have the suffix .dylib.
-rw-r--r--doc/lispref/loading.texi7
-rw-r--r--etc/NEWS4
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index 3261e6d1888..fdd8af1d095 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -1170,10 +1170,13 @@ extension, a.k.a.@: ``suffix''. This suffix is platform-dependent.
1170 1170
1171@defvar module-file-suffix 1171@defvar module-file-suffix
1172This variable holds the system-dependent value of the file-name 1172This variable holds the system-dependent value of the file-name
1173extension of the module files. Its value is @file{.so} on POSIX hosts 1173extension of the module files. Its value is @file{.so} on POSIX
1174and @file{.dll} on MS-Windows. 1174hosts, @file{.dylib} on macOS, and @file{.dll} on MS-Windows.
1175@end defvar 1175@end defvar
1176 1176
1177 On macOS, dynamic modules can also have the suffix @file{.so} in
1178addition to @file{.dylib}.
1179
1177@findex emacs_module_init 1180@findex emacs_module_init
1178@vindex plugin_is_GPL_compatible 1181@vindex plugin_is_GPL_compatible
1179Every dynamic module should export a C-callable function named 1182Every dynamic module should export a C-callable function named
diff --git a/etc/NEWS b/etc/NEWS
index dd339507c77..fe194f2801a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -48,6 +48,10 @@ applies, and please also update docstrings as needed.
48 48
49* Changes in Emacs 28.1 on Non-Free Operating Systems 49* Changes in Emacs 28.1 on Non-Free Operating Systems
50 50
51** On macOS, Emacs can now also load dynamic modules with a .dylib
52suffix. 'module-file-suffix' will have the value ".dylib" on macOS,
53but .so suffix is supported as well.
54
51 55
52---------------------------------------------------------------------- 56----------------------------------------------------------------------
53This file is part of GNU Emacs. 57This file is part of GNU Emacs.