Actually, I think that better than changing the end marker,
rcp-wait-for-output should look for the marker on a line by itself. So
change the local definitions at the top of rcp-wait-for-output to
(let ((proc (get-buffer-process (current-buffer)))
(result nil)
(found nil)
(end-output-regexp (concat "^" (regexp-quote rcp-end-of-output)
"$")))
and change the two occurrences of (regexp-quote rcp-end-of-output) to
end-output-regexp.
That fixes the example that went wrong for me previously.
joe stoy
- mimencode Joe Stoy
- Joe Stoy
