diff options
| author | Eli Zaretskii | 2023-02-13 20:11:28 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-02-13 20:11:28 +0200 |
| commit | 3d572ae0d507bba07f3cfc5ae2d2c7dd4937472c (patch) | |
| tree | ddff8ab3f26f07bcb3694a7a5493871a9410ca85 /src/buffer.c | |
| parent | dd8b720ee74e72359eb174aa5a27ab1770a349bd (diff) | |
| download | emacs-3d572ae0d507bba07f3cfc5ae2d2c7dd4937472c.tar.gz emacs-3d572ae0d507bba07f3cfc5ae2d2c7dd4937472c.zip | |
Rename with/without-narrowing to with/without-restriction
* doc/lispref/commands.texi:
* doc/lispref/display.texi:
* doc/lispref/positions.texi:
* etc/NEWS:
* lisp/subr.el:
* src/buffer.c:
* src/editfns.c:
* src/keyboard.c:
* src/xdisp.c:
* test/src/buffer-tests.el: Rename with-narrowing and
without-narrowing to with-restriction and without-restriction.
Likewise with internal--with-narrowing and
internal--without-narrowing. All callers and documentation
changed.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index 755061d0dee..df1f5206668 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5924,7 +5924,7 @@ This variable has effect only in buffers in which | |||
| 5924 | `long-line-optimizations-p' is non-nil. For performance reasons, in | 5924 | `long-line-optimizations-p' is non-nil. For performance reasons, in |
| 5925 | such buffers, the `fontification-functions', `pre-command-hook' and | 5925 | such buffers, the `fontification-functions', `pre-command-hook' and |
| 5926 | `post-command-hook' hooks are executed on a narrowed buffer around | 5926 | `post-command-hook' hooks are executed on a narrowed buffer around |
| 5927 | point, as if they were called in a `with-narrowing' form with a label. | 5927 | point, as if they were called in a `with-restriction' form with a label. |
| 5928 | This variable specifies the size of the narrowed region around point. | 5928 | This variable specifies the size of the narrowed region around point. |
| 5929 | 5929 | ||
| 5930 | To disable that narrowing, set this variable to 0. | 5930 | To disable that narrowing, set this variable to 0. |
| @@ -5942,7 +5942,7 @@ This variable has effect only in buffers in which | |||
| 5942 | `long-line-optimizations-p' is non-nil. For performance reasons, in | 5942 | `long-line-optimizations-p' is non-nil. For performance reasons, in |
| 5943 | such buffers, the `fontification-functions', `pre-command-hook' and | 5943 | such buffers, the `fontification-functions', `pre-command-hook' and |
| 5944 | `post-command-hook' hooks are executed on a narrowed buffer around | 5944 | `post-command-hook' hooks are executed on a narrowed buffer around |
| 5945 | point, as if they were called in a `with-narrowing' form with a label. | 5945 | point, as if they were called in a `with-restriction' form with a label. |
| 5946 | The variable `long-line-optimizations-region-size' specifies the | 5946 | The variable `long-line-optimizations-region-size' specifies the |
| 5947 | size of the narrowed region around point. This variable, which should | 5947 | size of the narrowed region around point. This variable, which should |
| 5948 | be a small integer, specifies the number of characters by which that | 5948 | be a small integer, specifies the number of characters by which that |