Function: tramp-smb-delete-matching-lines

tramp-smb-delete-matching-lines is a byte-compiled function defined in tramp-smb.el.gz.

Signature

(tramp-smb-delete-matching-lines STRING)

Documentation

Delete matching lines in current buffer.

Remove this function from comint-preoutput-filter-functions.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-smb.el.gz
(defun tramp-smb-delete-matching-lines (string)
  "Delete matching lines in current buffer.
Remove this function from `comint-preoutput-filter-functions'."
  (save-excursion
    (goto-char (point-min))
    (unless
	(zerop (delete-matching-lines tramp-smb-matching-line))
      (setq tramp-smb-matching-line nil)
      (remove-hook 'comint-preoutput-filter-functions
		   #'tramp-smb-delete-matching-lines 'local))
    string))