mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 03:20:39 -08: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
1 changed files with 1 additions and 1 deletions
|
|
@ -1643,7 +1643,7 @@ how to do these things:
|
||||||
(save-excursion
|
(save-excursion
|
||||||
;; @r{Insert the text, advancing the process marker.}
|
;; @r{Insert the text, advancing the process marker.}
|
||||||
(goto-char (process-mark proc))
|
(goto-char (process-mark proc))
|
||||||
(insert string)
|
(insert-before-markers string)
|
||||||
(set-marker (process-mark proc) (point)))
|
(set-marker (process-mark proc) (point)))
|
||||||
(if moving (goto-char (process-mark proc)))))))
|
(if moving (goto-char (process-mark proc)))))))
|
||||||
@end group
|
@end group
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue