summaryrefslogtreecommitdiff
path: root/lisp/sort.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/sort.el')
-rw-r--r--lisp/sort.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/sort.el b/lisp/sort.el
index c82657d56d3..2fb6ec54508 100644
--- a/lisp/sort.el
+++ b/lisp/sort.el
@@ -157,8 +157,10 @@ it defaults to `<', otherwise it defaults to `string<'."
(let ((last (point-min))
(min (point-min)) (max (point-max))
(old-buffer (current-buffer))
+ (mb enable-multibyte-characters)
temp-buffer)
(with-temp-buffer
+ (set-buffer-multibyte mb)
;; Record the temporary buffer.
(setq temp-buffer (current-buffer))