http-emacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Http-emacs-dev] [PATCH] http-emacs: xemacs compatibility fix


From: Adrian Aichner
Subject: [Http-emacs-dev] [PATCH] http-emacs: xemacs compatibility fix
Date: Tue, 05 Oct 2004 00:52:16 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, windows-nt)

Hi!

Any objections for me to commit this?

Adrian

http-emacs source patch:
Diff command:   cvs -f -z3 -q diff -u -w -N
Files affected: http-get.el

Index: http-get.el
===================================================================
RCS file: /cvsroot/http-emacs/http-emacs/http-get.el,v
retrieving revision 1.29
diff -u -w -r1.29 http-get.el
--- http-get.el 29 Apr 2004 13:31:00 -0000      1.29
+++ http-get.el 4 Oct 2004 22:50:43 -0000
@@ -279,7 +279,9 @@
 
 (defun http-decode-buffer ()
   "Decode buffer according to the buffer local variable `http-coding'."
-  (when (fboundp 'set-buffer-multibyte)
+  (when (and
+        (fboundp 'set-buffer-multibyte)
+        (fboundp 'multibyte-string-p))
     (when (multibyte-string-p (decode-coding-string "test" http-coding))
       (set-buffer-multibyte t)))
   (decode-coding-region (point-min) (point-max) http-coding))

-- 
Adrian Aichner
 mailto:address@hidden
 http://www.xemacs.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]