summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/tq.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/tq.el')
-rw-r--r--lisp/emacs-lisp/tq.el24
1 files changed, 21 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/tq.el b/lisp/emacs-lisp/tq.el
index 3ae320b3604..4c356fe5173 100644
--- a/lisp/emacs-lisp/tq.el
+++ b/lisp/emacs-lisp/tq.el
@@ -1,10 +1,28 @@
;;; tq.el --- utility to maintain a transaction queue
+;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc.
+
;; Author: Scott Draves <spot@cs.cmu.edu>
;; Adapted-By: ESR
;; Keywords: extensions
-;; Commentary:
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING. If not, write to
+;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+
+;;; Commentary:
;;; manages receiving a stream asynchronously,
;;; parsing it into transactions, and then calling
@@ -18,8 +36,6 @@
;;; Code:
-(provide 'tq)
-
(defun tq-create (process)
"Create and return a transaction queue. PROCESS should be capable
of sending and receiving streams of bytes. It may be a local process,
@@ -92,4 +108,6 @@ answer is identified by REGEXP."
(tq-queue-pop tq)
(tq-process-buffer tq))))))
+(provide 'tq)
+
;;; tq.el ends here