aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2020-03-07 14:23:23 +0200
committerEli Zaretskii2020-03-07 14:23:23 +0200
commit08c042bd26f9a194a25aef241f8747ce47ac2798 (patch)
treebdd765bc9b5361ca9f93d3c99480d52d79220c0f
parent512b66abd7437d908fae781c312e141bdaeed90c (diff)
downloademacs-08c042bd26f9a194a25aef241f8747ce47ac2798.tar.gz
emacs-08c042bd26f9a194a25aef241f8747ce47ac2798.zip
Document that 'byte-compile-dynamic' is obsolete
* doc/lispref/compile.texi (Dynamic Loading): Document that this is deprecated. * etc/NEWS: mark the 'byte-compile-dynamic' entry as documented.
-rw-r--r--doc/lispref/compile.texi6
-rw-r--r--etc/NEWS5
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi
index 311b6f5b3fb..e979fda41eb 100644
--- a/doc/lispref/compile.texi
+++ b/doc/lispref/compile.texi
@@ -302,7 +302,7 @@ function is called, it reads the full definition from the file, to
302replace the place-holder. 302replace the place-holder.
303 303
304 The advantage of dynamic function loading is that loading the file 304 The advantage of dynamic function loading is that loading the file
305becomes much faster. This is a good thing for a file which contains 305should become faster. This is a good thing for a file which contains
306many separate user-callable functions, if using one of them does not 306many separate user-callable functions, if using one of them does not
307imply you will probably also use the rest. A specialized mode which 307imply you will probably also use the rest. A specialized mode which
308provides many keyboard commands often has that usage pattern: a user may 308provides many keyboard commands often has that usage pattern: a user may
@@ -326,6 +326,10 @@ installed Emacs files. But they are quite likely to happen with Lisp
326files that you are changing. The easiest way to prevent these problems 326files that you are changing. The easiest way to prevent these problems
327is to reload the new compiled file immediately after each recompilation. 327is to reload the new compiled file immediately after each recompilation.
328 328
329 @emph{Experience shows that using dynamic function loading provides
330benefits that are hardly measurable, so this feature is deprecated
331since Emacs 27.1.}
332
329 The byte compiler uses the dynamic function loading feature if the 333 The byte compiler uses the dynamic function loading feature if the
330variable @code{byte-compile-dynamic} is non-@code{nil} at compilation 334variable @code{byte-compile-dynamic} is non-@code{nil} at compilation
331time. Do not set this variable globally, since dynamic loading is 335time. Do not set this variable globally, since dynamic loading is
diff --git a/etc/NEWS b/etc/NEWS
index 02394768066..6b2de77f1bb 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -803,10 +803,11 @@ You can use this new user option to control indentation of arguments of
803 803
804** byte compiler 804** byte compiler
805 805
806+++
806*** 'byte-compile-dynamic' is now obsolete. 807*** 'byte-compile-dynamic' is now obsolete.
807This is because on the one hand it suffers from misbehavior in corner 808This is because on the one hand it suffers from misbehavior in corner
808cases that have plagued it for years, and on the other experiments indicated 809cases that have plagued it for years, and on the other hand experience
809that it doesn't bring any measurable benefit. 810indicates that it doesn't bring any measurable benefit.
810 811
811--- 812---
812*** The 'g' keystroke in "*Compile-Log*" buffers has been bound to a 813*** The 'g' keystroke in "*Compile-Log*" buffers has been bound to a