Commit 6da3b16b authored by Jim Blandy's avatar Jim Blandy
Browse files

* sort.el (sort-float-fields): Use string-to-number, not

parent 3254eb1e
...@@ -265,7 +265,7 @@ region to sort." ...@@ -265,7 +265,7 @@ region to sort."
(sort-fields-1 field beg end (sort-fields-1 field beg end
(function (lambda () (function (lambda ()
(sort-skip-fields (1- field)) (sort-skip-fields (1- field))
(string-to-float (string-to-number
(buffer-substring (buffer-substring
(point) (point)
(save-excursion (save-excursion
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment