xemacs-packages/libs/apel/pces-raw.el

Katsumi Yamaoka yamaoka at jpl.org
Wed May 24 18:59:02 JST 2000


David Byers <davby at ida.liu.se> reported that the functions
`decode-coding-string' and `encode-coding-string' in pces-raw.el are
incompatible with MULE versions of Emacs and XEmacs.  They should
return a copy of their arguments.

2000-05-24  Katsumi Yamaoka   <yamaoka at jpl.org>

	* pces-raw.el (encode-coding-string, decode-coding-string): Return
	a copy of string.

It has been fixed in the m17n CVS server, the main trunk of APEL.
-------------- next part --------------
--- xemacs-packages/libs/apel/pces-raw.el~	Fri Jul 23 08:33:24 1999
+++ xemacs-packages/libs/apel/pces-raw.el	Wed May 24 09:36:11 2000
@@ -29,11 +29,11 @@
 
 (defun decode-coding-string (string coding-system)
   "Decode the STRING which is encoded in CODING-SYSTEM."
-  string)
+  (copy-sequence string))
 
 (defun encode-coding-string (string coding-system)
   "Encode the STRING as CODING-SYSTEM."
-  string)
+  (copy-sequence string))
 
 (defun decode-coding-region (start end coding-system)
   "Decode the text between START and END which is encoded in CODING-SYSTEM."
-------------- next part --------------
-- 
Katsumi Yamaoka <yamaoka at jpl.org>


More information about the APEL-en mailing list