diff options
| author | Eli Zaretskii | 2020-03-07 14:23:23 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-03-07 14:23:23 +0200 |
| commit | 08c042bd26f9a194a25aef241f8747ce47ac2798 (patch) | |
| tree | bdd765bc9b5361ca9f93d3c99480d52d79220c0f | |
| parent | 512b66abd7437d908fae781c312e141bdaeed90c (diff) | |
| download | emacs-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.texi | 6 | ||||
| -rw-r--r-- | etc/NEWS | 5 |
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 | |||
| 302 | replace the place-holder. | 302 | replace 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 |
| 305 | becomes much faster. This is a good thing for a file which contains | 305 | should become faster. This is a good thing for a file which contains |
| 306 | many separate user-callable functions, if using one of them does not | 306 | many separate user-callable functions, if using one of them does not |
| 307 | imply you will probably also use the rest. A specialized mode which | 307 | imply you will probably also use the rest. A specialized mode which |
| 308 | provides many keyboard commands often has that usage pattern: a user may | 308 | provides 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 | |||
| 326 | files that you are changing. The easiest way to prevent these problems | 326 | files that you are changing. The easiest way to prevent these problems |
| 327 | is to reload the new compiled file immediately after each recompilation. | 327 | is to reload the new compiled file immediately after each recompilation. |
| 328 | 328 | ||
| 329 | @emph{Experience shows that using dynamic function loading provides | ||
| 330 | benefits that are hardly measurable, so this feature is deprecated | ||
| 331 | since 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 |
| 330 | variable @code{byte-compile-dynamic} is non-@code{nil} at compilation | 334 | variable @code{byte-compile-dynamic} is non-@code{nil} at compilation |
| 331 | time. Do not set this variable globally, since dynamic loading is | 335 | time. Do not set this variable globally, since dynamic loading is |
| @@ -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. |
| 807 | This is because on the one hand it suffers from misbehavior in corner | 808 | This is because on the one hand it suffers from misbehavior in corner |
| 808 | cases that have plagued it for years, and on the other experiments indicated | 809 | cases that have plagued it for years, and on the other hand experience |
| 809 | that it doesn't bring any measurable benefit. | 810 | indicates 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 |