]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/tq.el
Add a provide statement.
[gnu-emacs] / lisp / emacs-lisp / tq.el
index 3a32c0b5169a4ce8c6ef4eac3589b33772d55532..f7db20859d502ef27d254fe7c01dad11fc870757 100644 (file)
@@ -1,6 +1,6 @@
 ;;; tq.el --- utility to maintain a transaction queue
 
-;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc.
+;; Copyright (C) 1985, 1986, 1987, 1992, 2003 Free Software Foundation, Inc.
 
 ;; Author: Scott Draves <spot@cs.cmu.edu>
 ;; Maintainer: FSF
@@ -25,7 +25,7 @@
 ;; Boston, MA 02111-1307, USA.
 
 ;;; Commentary:
+
 ;; manages receiving a stream asynchronously,
 ;; parsing it into transactions, and then calling
 ;; handler functions
@@ -49,8 +49,8 @@ to a tcp server on another machine."
                             (concat " tq-temp-"
                                     (process-name process)))))))
     (set-process-filter process
-                       (`(lambda (proc string)
-                          (tq-filter  '(, tq) string))))
+                       `(lambda (proc string)
+                          (tq-filter ',tq string)))
     tq))
 
 ;;; accessors
@@ -68,7 +68,7 @@ to a tcp server on another machine."
 (defun tq-queue-head-closure (tq) (car (cdr (car (tq-queue tq)))))
 (defun tq-queue-empty        (tq) (not (tq-queue tq)))
 (defun tq-queue-pop          (tq) (setcar tq (cdr (car tq))) (null (car tq)))
+
 
 ;;; must add to queue before sending!
 (defun tq-enqueue (tq question regexp closure fn)
@@ -120,4 +120,5 @@ that's how we tell where the answer ends."
 
 (provide 'tq)
 
+;;; arch-tag: 65dea08c-4edd-4cde-83a5-e8a15b993b79
 ;;; tq.el ends here