diff options
| author | Kenichi Handa | 1998-04-06 05:06:12 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-04-06 05:06:12 +0000 |
| commit | fa2517402679ee5c5c9da10e6200c8568a395af7 (patch) | |
| tree | 8e2bd270fa1345327858426fb27b4928ddac6ca8 /src | |
| parent | 453fa9876f5ddb40ac2ade3c0b719130cec0961b (diff) | |
| download | emacs-fa2517402679ee5c5c9da10e6200c8568a395af7.tar.gz emacs-fa2517402679ee5c5c9da10e6200c8568a395af7.zip | |
(Fstring_as_unibyte): Set size_byte field to -1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -858,6 +858,7 @@ If STRING is unibyte, the result is STRING itself.") | |||
| 858 | { | 858 | { |
| 859 | string = Fcopy_sequence (string); | 859 | string = Fcopy_sequence (string); |
| 860 | XSTRING (string)->size = STRING_BYTES (XSTRING (string)); | 860 | XSTRING (string)->size = STRING_BYTES (XSTRING (string)); |
| 861 | SET_STRING_BYTES (XSTRING (string), -1); | ||
| 861 | } | 862 | } |
| 862 | return string; | 863 | return string; |
| 863 | } | 864 | } |