]> git.eshelyaron.com Git - emacs.git/commitdiff
Update process filter example (Bug#35044)
authorNoam Postavsky <npostavs@gmail.com>
Sun, 28 Apr 2019 12:28:46 +0000 (08:28 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 1 May 2019 00:51:24 +0000 (20:51 -0400)
* 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

index 7331eb63762c525d0175327122c8c311c63a4450..38ad9076a0c38638d83840e5fe3572f082cab584 100644 (file)
@@ -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