* riece-rdcc.el: Require riece-globals, riece-misc, riece-channel,
authorueno <ueno>
Mon, 2 Jun 2003 04:24:36 +0000 (04:24 +0000)
committerueno <ueno>
Mon, 2 Jun 2003 04:24:36 +0000 (04:24 +0000)
and riece-identity.
(riece-command-dcc-receive): Check the existence of
set-buffer-multibyte.

lisp/ChangeLog
lisp/riece-rdcc.el

index f3ae1a0..bff3eab 100644 (file)
@@ -1,5 +1,12 @@
 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
 
+       * 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  <ueno@unixuser.org>
+
        * Riece: Version 0.0.3 released.
        * riece-version.el (riece-version-number): Bump up to 0.0.3.
 
index 7d7c95f..0472aed 100644 (file)
 
 ;;; 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)