(riece-queue-enqueue): New function.
(riece-queue-dequeue): New function.
(riece-queue-empty): New function.
(riece-flush-send-queue): Use a queue object; check the process
is active.
(riece-queue-enqueue): New function.
(riece-queue-dequeue): New function.
(riece-queue-empty): New function.
- (riece-flush-send-queue): Use a queue object.
+ (riece-flush-send-queue): Use a queue object; check the process
+ is active.
2004-09-25 Daiki Ueno <ueno@unixuser.org>
(setq riece-last-send-time (current-time)))))
(if riece-send-queue
(riece-run-at-time riece-send-delay nil
- #'riece-flush-send-queue process)))))
+ (lambda (process)
+ (if (process-buffer process)
+ (riece-flush-send-queue process)))
+ process)))))
(defun riece-process-send-string (process string)
(with-current-buffer (process-buffer process)