Function: org-babel-comint--echo-filter
org-babel-comint--echo-filter is a byte-compiled function defined in
ob-comint.el.gz.
Signature
(org-babel-comint--echo-filter STRING &optional ECHO)
Documentation
Remove ECHO from STRING.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-comint.el.gz
(defun org-babel-comint--echo-filter (string &optional echo)
"Remove ECHO from STRING."
(and echo string
(string-match
(replace-regexp-in-string "\n" "[\r\n]+" (regexp-quote echo))
string)
(setq string (substring string (match-end 0))))
string)