diff options
| author | Noam Postavsky | 2019-04-28 08:28:46 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2019-04-30 20:51:24 -0400 |
| commit | ec02c736d65f2fd3a8a17e4e8dc143bf15d9600d (patch) | |
| tree | 4380242186618435133de80b5ba4ad3bf2be8611 | |
| parent | c26d452ae15a74f0eeec53ba529eebaa95eb5489 (diff) | |
| download | emacs-ec02c736d65f2fd3a8a17e4e8dc143bf15d9600d.tar.gz emacs-ec02c736d65f2fd3a8a17e4e8dc143bf15d9600d.zip | |
Update process filter example (Bug#35044)
* doc/lispref/processes.texi (Filter Functions): Use
insert-before-markers in the "ordinary" filter example, like
internal-default-process-filter does.
| -rw-r--r-- | doc/lispref/processes.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 7331eb63762..38ad9076a0c 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -1643,7 +1643,7 @@ how to do these things: | |||
| 1643 | (save-excursion | 1643 | (save-excursion |
| 1644 | ;; @r{Insert the text, advancing the process marker.} | 1644 | ;; @r{Insert the text, advancing the process marker.} |
| 1645 | (goto-char (process-mark proc)) | 1645 | (goto-char (process-mark proc)) |
| 1646 | (insert string) | 1646 | (insert-before-markers string) |
| 1647 | (set-marker (process-mark proc) (point))) | 1647 | (set-marker (process-mark proc) (point))) |
| 1648 | (if moving (goto-char (process-mark proc))))))) | 1648 | (if moving (goto-char (process-mark proc))))))) |
| 1649 | @end group | 1649 | @end group |