comparison lisp/comint.el @ 26734:47e94e83148f

(comint-redirect-results-list) (comint-redirect-results-list-from-process): Remove interactive spec.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 06 Dec 1999 17:44:17 +0000
parents 173f907a5812
children 34cb92c8c3e4
comparison
equal deleted inserted replaced
26733:ec6291e5f3fa 26734:47e94e83148f
2686 ;;;###autoload 2686 ;;;###autoload
2687 (defun comint-redirect-results-list (command regexp regexp-group) 2687 (defun comint-redirect-results-list (command regexp regexp-group)
2688 "Send COMMAND to current process. 2688 "Send COMMAND to current process.
2689 Return a list of expressions in the output which match REGEXP. 2689 Return a list of expressions in the output which match REGEXP.
2690 REGEXP-GROUP is the regular expression group in REGEXP to use." 2690 REGEXP-GROUP is the regular expression group in REGEXP to use."
2691 (interactive)
2692 (comint-redirect-results-list-from-process 2691 (comint-redirect-results-list-from-process
2693 (get-buffer-process (current-buffer)) 2692 (get-buffer-process (current-buffer))
2694 command regexp regexp-group)) 2693 command regexp regexp-group))
2695 2694
2696 ;;;###autoload 2695 ;;;###autoload
2697 (defun comint-redirect-results-list-from-process (process command regexp regexp-group) 2696 (defun comint-redirect-results-list-from-process (process command regexp regexp-group)
2698 "Send COMMAND to PROCESS. 2697 "Send COMMAND to PROCESS.
2699 Return a list of expressions in the output which match REGEXP. 2698 Return a list of expressions in the output which match REGEXP.
2700 REGEXP-GROUP is the regular expression group in REGEXP to use." 2699 REGEXP-GROUP is the regular expression group in REGEXP to use."
2701 (interactive)
2702 (let ((output-buffer " *Comint Redirect Work Buffer*") 2700 (let ((output-buffer " *Comint Redirect Work Buffer*")
2703 results) 2701 results)
2704 (save-excursion 2702 (save-excursion
2705 (set-buffer (get-buffer-create output-buffer)) 2703 (set-buffer (get-buffer-create output-buffer))
2706 (erase-buffer) 2704 (erase-buffer)