aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2007-10-11 11:44:05 +0000
committerJuanma Barranquero2007-10-11 11:44:05 +0000
commit1ee4a6c59337db9a1267a2d4839188ea59fc92b8 (patch)
tree9ebb3be7fe7023173100db1641b963b347a89d6f
parent44cd688b7bd379472f900fa1571ed17fd649730e (diff)
downloademacs-1ee4a6c59337db9a1267a2d4839188ea59fc92b8.tar.gz
emacs-1ee4a6c59337db9a1267a2d4839188ea59fc92b8.zip
(follow-stop-intercept-process-output):
Use `follow-call-process-filter' rather than `process-filter'. Simplify.
-rw-r--r--lisp/follow.el19
1 files changed, 8 insertions, 11 deletions
diff --git a/lisp/follow.el b/lisp/follow.el
index a1a0c57c078..55a331a22d3 100644
--- a/lisp/follow.el
+++ b/lisp/follow.el
@@ -1820,17 +1820,14 @@ would interfere with some other package. If this happens, please
1820report this using the `report-emacs-bug' function." 1820report this using the `report-emacs-bug' function."
1821 (interactive) 1821 (interactive)
1822 (follow-tidy-process-filter-alist) 1822 (follow-tidy-process-filter-alist)
1823 (let ((list (process-list))) 1823 (dolist (process (process-list))
1824 (while list 1824 (when (eq (follow-call-process-filter process) 'follow-generic-filter)
1825 (if (eq (process-filter (car list)) 'follow-generic-filter) 1825 (follow-call-set-process-filter
1826 (progn 1826 process
1827 (follow-call-set-process-filter 1827 (cdr-safe (assq process follow-process-filter-alist)))
1828 (car list) 1828 (setq follow-process-filter-alist
1829 (cdr-safe (assq (car list) follow-process-filter-alist))) 1829 (delq (assq process follow-process-filter-alist)
1830 (setq follow-process-filter-alist 1830 follow-process-filter-alist))))
1831 (delq (assq (car list) follow-process-filter-alist)
1832 follow-process-filter-alist))))
1833 (setq list (cdr list))))
1834 (setq follow-intercept-processes nil)) 1831 (setq follow-intercept-processes nil))
1835 1832
1836;;}}} 1833;;}}}