From: Noam Postavsky Date: Sun, 28 Apr 2019 12:28:46 +0000 (-0400) Subject: Update process filter example (Bug#35044) X-Git-Tag: emacs-26.2.90~76 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec02c73;p=emacs.git 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. --- 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