From: ueno Date: Mon, 2 Jun 2003 04:24:36 +0000 (+0000) Subject: * riece-rdcc.el: Require riece-globals, riece-misc, riece-channel, X-Git-Tag: strict-naming-branchpoint~22 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ddae16347128bcb710d9a7d45279f10df464af93;p=elisp%2Friece.git * riece-rdcc.el: Require riece-globals, riece-misc, riece-channel, and riece-identity. (riece-command-dcc-receive): Check the existence of set-buffer-multibyte. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f3ae1a0..bff3eab 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,12 @@ 2003-06-02 Daiki Ueno + * riece-rdcc.el: Require riece-globals, riece-misc, riece-channel, + and riece-identity. + (riece-command-dcc-receive): Check the existence of + set-buffer-multibyte. + +2003-06-02 Daiki Ueno + * Riece: Version 0.0.3 released. * riece-version.el (riece-version-number): Bump up to 0.0.3. diff --git a/lisp/riece-rdcc.el b/lisp/riece-rdcc.el index 7d7c95f..0472aed 100644 --- a/lisp/riece-rdcc.el +++ b/lisp/riece-rdcc.el @@ -23,6 +23,11 @@ ;;; Code: +(require 'riece-globals) +(require 'riece-misc) +(require 'riece-channel) +(require 'riece-identity) + (defgroup riece-rdcc nil "DCC implementation using ruby" :prefix "riece-" @@ -224,7 +229,8 @@ puts(\"#{" address " >> 24 & 0xFF}.#{" address " >> 16 & 0xFF}.#{" (nth 3 request)))) (setq riece-rdcc-requests (delq request riece-rdcc-requests)) (with-current-buffer (process-buffer process) - (set-buffer-multibyte nil) + (if (fboundp 'set-buffer-multibyte) + (set-buffer-multibyte nil)) (buffer-disable-undo) (setq buffer-file-name file) (make-local-variable 'riece-rdcc-request-user)