aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/international/mule-util.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el
index be55a22bf71..7a5bbe03775 100644
--- a/lisp/international/mule-util.el
+++ b/lisp/international/mule-util.el
@@ -37,7 +37,8 @@ TYPE should be `list' or `vector'."
37 (i 0) 37 (i 0)
38 l ch) 38 l ch)
39 (while (< i len) 39 (while (< i len)
40 (setq ch (sref string i)) 40 (setq ch (if enable-multibyte-characters
41 (sref string i) (aref string i)))
41 (setq l (cons ch l)) 42 (setq l (cons ch l))
42 (setq i (+ i (char-bytes ch)))) 43 (setq i (+ i (char-bytes ch))))
43 (setq l (nreverse l)) 44 (setq l (nreverse l))