diff options
| author | Glenn Morris | 2012-11-17 17:38:42 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-11-17 17:38:42 -0800 |
| commit | 7351b73d45a2f6f33230e6725fdfdf9e122eff14 (patch) | |
| tree | 2e6153d48902f57bc279fce27736e484d537823e /etc | |
| parent | 7f6705c313ce5054fdcbc457fa32b9680bcb11a7 (diff) | |
| download | emacs-7351b73d45a2f6f33230e6725fdfdf9e122eff14.tar.gz emacs-7351b73d45a2f6f33230e6725fdfdf9e122eff14.zip | |
Document eager macro expansion
* doc/lispref/loading.texi (How Programs Do Loading): Add eager macro expansion.
* doc/lispref/macros.texi (Expansion): Mention eager macro expansion.
* etc/NEWS: Related edit.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -923,13 +923,13 @@ Previously, they returned NaNs on some platforms but signaled errors | |||
| 923 | on others. The affected functions are acos, asin, tan, exp, expt, | 923 | on others. The affected functions are acos, asin, tan, exp, expt, |
| 924 | log, log10, sqrt, and mod. | 924 | log, log10, sqrt, and mod. |
| 925 | 925 | ||
| 926 | ** Interpreted files are eagerly macro-expanded during load. | 926 | +++ |
| 927 | ** Emacs tries to macroexpand interpreted (non-compiled) files during load. | ||
| 927 | This can significantly speed up execution of non-byte-compiled code, | 928 | This can significantly speed up execution of non-byte-compiled code, |
| 928 | but can also bump into harmless and previously unnoticed cyclic | 929 | but can also bump into previously unnoticed cyclic dependencies. |
| 929 | dependencies. These should not be fatal: they will simply cause the | 930 | These are generally harmless: they will simply cause the macro calls |
| 930 | macro-calls to be left for later expansion (as before), but will also | 931 | to be left for later expansion (as before), but will result in a |
| 931 | result in a warning ("Eager macro-expansion skipped due to cycle") | 932 | warning ("Eager macro-expansion skipped due to cycle") describing the cycle. |
| 932 | describing the cycle. | ||
| 933 | 933 | ||
| 934 | ** Miscellaneous new functions: | 934 | ** Miscellaneous new functions: |
| 935 | +++ | 935 | +++ |