2003-06-03 Daiki Ueno <ueno@unixuser.org>
+ * riece-rdcc.el (riece-rdcc-sentinel): Don't call delete-process
+ explicitly.
+ * riece-ndcc.el: Don't call delete-process explicitly.
+ * riece-server.el (riece-close-server-process): Don't call
+ delete-process explicitly unless riece-debug == t.
+
+2003-06-03 Daiki Ueno <ueno@unixuser.org>
+
* riece-inlines.el (scandinavian-downcase): New inline function.
(scandinavian-equal-ignore-case): Rename from
string-equal-ignore-case.
(substring (process-name process) 0 (match-beginning 0)))))
(save-excursion
(set-buffer (process-buffer (get-process parent-name)))
- (delete-process parent-name)
(goto-char (point-min))
(while (not (eobp))
(process-send-region process
(message "Sending %s...(%d/%d)"
(buffer-file-name) (1- (point)) (buffer-size)))
(message "Sending %s...done"
- (buffer-file-name))))
+ (buffer-file-name)))
+ (kill-buffer (process-buffer (get-process parent-name))))
(kill-buffer (process-buffer process))
- (delete-process process)))
(defun riece-command-dcc-send (user file)
(interactive
(defun riece-rdcc-server-sentinel (process status)
(with-current-buffer (process-buffer process)
(message "Sending %s...done" riece-rdcc-request-file))
- (kill-buffer (process-buffer process))
- (delete-process process))
+ (kill-buffer (process-buffer process)))
(defun riece-command-dcc-send (user file)
(interactive
(let ((coding-system-for-write 'binary)
jka-compr-compression-info-list jam-zcat-filename-list)
(write-region (point-min) (point-max) riece-rdcc-request-file)))
- (kill-buffer (process-buffer process))
- (delete-process process))
+ (kill-buffer (process-buffer process)))
(defun riece-rdcc-decode-address (address)
(with-temp-buffer
(set-process-filter process nil))
(if (eq 'riece-sentinel (process-sentinel process))
(set-process-sentinel process nil))
- (when (memq (process-status process) '(open run))
- (riece-process-send-string process
- (if quit-message
- (format "QUIT :%s\r\n" quit-message)
- "QUIT\r\n"))
- (unless riece-debug
- (kill-buffer (process-buffer process))))
- (delete-process process))
+ (if (memq (process-status process) '(open run))
+ (riece-process-send-string process
+ (if quit-message
+ (format "QUIT :%s\r\n" quit-message)
+ "QUIT\r\n")))
+ (if riece-debug
+ (delete-process process)
+ (kill-buffer (process-buffer process))))
(eval-when-compile
(autoload 'riece-exit "riece"))