From ec02c736d65f2fd3a8a17e4e8dc143bf15d9600d Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sun, 28 Apr 2019 08:28:46 -0400 Subject: [PATCH] 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. --- doc/lispref/processes.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: (save-excursion ;; @r{Insert the text, advancing the process marker.} (goto-char (process-mark proc)) - (insert string) + (insert-before-markers string) (set-marker (process-mark proc) (point))) (if moving (goto-char (process-mark proc))))))) @end group -- 2.39.2