diff options
| author | Gregory Heytings | 2022-08-01 19:11:01 +0000 |
|---|---|---|
| committer | Gregory Heytings | 2022-08-01 21:11:49 +0200 |
| commit | 9d8a6c82838f2f24e76a67379b02956aa668d7cf (patch) | |
| tree | 4c2a1c40d39de489d90575d13efffcee13955a94 /etc | |
| parent | c2ed2e68586098b600ff10a85e882ceb9eeb0c32 (diff) | |
| download | emacs-9d8a6c82838f2f24e76a67379b02956aa668d7cf.tar.gz emacs-9d8a6c82838f2f24e76a67379b02956aa668d7cf.zip | |
Fix the bytecode incompatibility due to the change to 'narrow-to-region'.
* src/editfns.c (narrow_to_region_internal): New function, which
contains the body previously in 'Fnarrow_to_region' but accepts
a third argument.
(Fnarrow_to_region): Use the new function. Update the docstring.
(Fwiden): Update the docstring.
* src/lisp.h: Prototype of the new function.
* src/xdisp.c (handle_fontified_prop): Use the new function instead
of 'Fnarrow_to_region'.
* src/process.c (Finternal_default_process_filter):
* src/lread.c (readevalloop): Remove the third argument to
'Fnarrow_to_region'.
* src/bytecode.c (exec_byte_code):
* lisp/emacs-lisp/comp.el (comp-limplify-lap-inst):
* lisp/emacs-lisp/bytecomp.el: Restore the statu quo ante.
* etc/NEWS: Remove the entry about the new optional argument.
* doc/lispref/positions.texi (Narrowing): Update the documentation.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 0 insertions, 7 deletions
| @@ -2560,13 +2560,6 @@ things to be saved. | |||
| 2560 | ** New function 'string-equal-ignore-case'. | 2560 | ** New function 'string-equal-ignore-case'. |
| 2561 | This compares strings ignoring case differences. | 2561 | This compares strings ignoring case differences. |
| 2562 | 2562 | ||
| 2563 | +++ | ||
| 2564 | ** New argument LOCK of 'narrow-to-region'. | ||
| 2565 | If 'narrow-to-region' is called from Lisp with the new optional | ||
| 2566 | argument LOCK non-nil, then calls to 'widen' and calls to | ||
| 2567 | 'narrow-to-region' with the optional argument LOCK nil or omitted do | ||
| 2568 | not produce any effect until the end of the current body form. | ||
| 2569 | |||
| 2570 | ** Themes | 2563 | ** Themes |
| 2571 | 2564 | ||
| 2572 | --- | 2565 | --- |