Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7cdf2321
Commit
7cdf2321
authored
Sep 04, 1997
by
Richard M. Stallman
Browse files
(string-to-sequence): Work usefully when enable-multibyte-characters is nil.
parent
e41b4517
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/international/mule-util.el
lisp/international/mule-util.el
+2
-1
No files found.
lisp/international/mule-util.el
View file @
7cdf2321
...
...
@@ -37,7 +37,8 @@ TYPE should be `list' or `vector'."
(
i
0
)
l
ch
)
(
while
(
<
i
len
)
(
setq
ch
(
sref
string
i
))
(
setq
ch
(
if
enable-multibyte-characters
(
sref
string
i
)
(
aref
string
i
)))
(
setq
l
(
cons
ch
l
))
(
setq
i
(
+
i
(
char-bytes
ch
))))
(
setq
l
(
nreverse
l
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment