diff lisp/sort.el @ 93104:cd165893f5bb

(sort-reorder-buffer): Preserve the buffer's multibyteness.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 20 Mar 2008 15:41:44 +0000
parents 73661ddc7ac7
children 1e3a407766b9
line wrap: on
line diff
--- a/lisp/sort.el	Thu Mar 20 13:42:38 2008 +0000
+++ b/lisp/sort.el	Thu Mar 20 15:41:44 2008 +0000
@@ -157,8 +157,10 @@
   (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))