]> git.eshelyaron.com Git - emacs.git/commit
Avoid using string-to-multibyte in ispell.el
authorReuben Thomas <rrt@sc3d.org>
Tue, 22 Aug 2017 00:46:27 +0000 (01:46 +0100)
committerReuben Thomas <rrt@sc3d.org>
Thu, 24 Aug 2017 17:53:28 +0000 (18:53 +0100)
commitbd9ad2ea1051a73e30e720b90cf413ee93a977f7
tree8546816a375a517987062c13c35cc7708036e45a
parent22ebde63c9df6a6815359c1e3406baddec1ed55b
Avoid using string-to-multibyte in ispell.el

* lisp/textmodes/ispell.el (ispell-get-decoded-string): Use
decode-coding-string instead. Note that decode-coding-string returns a
string that satisfies multibyte-string-p even if its input is pure
ASCII and the third argument is t, so the result of
ispell-get-decoded-string is always a multibyte string.
lisp/textmodes/ispell.el