mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-02 20:16:25 +00:00
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.
This commit is contained in:
parent
c26d452ae1
commit
ec02c736d6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user