exit-handler is specified.
(riece-ruby-exit-handler): Don't call riece-ruby-clear.
(riece-ruby-filter): Fixed regexp; fixed argument order of
output-handler.
(riece-ruby-run-exit-handler): Remove exit-handler entry before
- running it to avoid recursion.
+ running it to avoid recursion; call riece-ruby-clear if
+ exit-handler is specified.
+ (riece-ruby-exit-handler): Don't call riece-ruby-clear.
* riece-rdcc.el: Use riece-ruby.
(defun riece-rdcc-exit-handler (name)
(message "Sending %s...done"
- (riece-ruby-property name 'riece-rdcc-request-file))
- (riece-ruby-clear name))
+ (riece-ruby-property name 'riece-rdcc-request-file)))
(defun riece-command-dcc-send (user file)
(interactive
(progn
(setq riece-ruby-exit-handler-alist
(delq entry riece-ruby-exit-handler-alist))
- (funcall (cdr entry) (car entry))))))
+ (funcall (cdr entry) (car entry))
+ (riece-ruby-clear name)))))
(defun riece-ruby-sentinel (process status)
(kill-buffer (process-buffer process)))
(riece-make-message (riece-current-nickname)
(riece-ruby-property name 'riece-ruby-target)
data
- 'notice))
- (riece-ruby-clear name)))
+ 'notice))))
(defun riece-ruby-display-message-function (message)
(if (and riece-ruby-enabled