Skip to content

Commit ec02c73

Browse files
committed
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.
1 parent c26d452 commit ec02c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/lispref/processes.texi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ how to do these things:
16431643
(save-excursion
16441644
;; @r{Insert the text, advancing the process marker.}
16451645
(goto-char (process-mark proc))
1646-
(insert string)
1646+
(insert-before-markers string)
16471647
(set-marker (process-mark proc) (point)))
16481648
(if moving (goto-char (process-mark proc)))))))
16491649
@end group

0 commit comments

Comments
 (0)