aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorRichard M. Stallman2001-12-25 08:16:46 +0000
committerRichard M. Stallman2001-12-25 08:16:46 +0000
commitfbd98f82dfbf6c7dd6e57986a0d13300f691047b (patch)
treed17121f02ad4ccc31e21e82b7be47f855d85c317 /src/bytecode.c
parentf27b0335d14f001c7eb517f0389b708da04591ca (diff)
downloademacs-fbd98f82dfbf6c7dd6e57986a0d13300f691047b.tar.gz
emacs-fbd98f82dfbf6c7dd6e57986a0d13300f691047b.zip
(Fbyte_code): Use Fstring_make_unibyte instead of Fstring_as_unibyte.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index c926a3237a6..732b82832c1 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -457,8 +457,8 @@ If the third argument is incorrect, Emacs may crash. */)
457 because they produced a raw 8-bit string for byte-code and now 457 because they produced a raw 8-bit string for byte-code and now
458 such a byte-code string is loaded as multibyte while raw 8-bit 458 such a byte-code string is loaded as multibyte while raw 8-bit
459 characters converted to multibyte form. Thus, now we must 459 characters converted to multibyte form. Thus, now we must
460 convert them back to the original unibyte form. */ 460 convert them back to the originally intended unibyte form. */
461 bytestr = Fstring_as_unibyte (bytestr); 461 bytestr = Fstring_make_unibyte (bytestr);
462 462
463 bytestr_length = STRING_BYTES (XSTRING (bytestr)); 463 bytestr_length = STRING_BYTES (XSTRING (bytestr));
464 vectorp = XVECTOR (vector)->contents; 464 vectorp = XVECTOR (vector)->contents;