Commit 14abf41a authored by Ulrik Haugen's avatar Ulrik Haugen

Tuned patch from Marcus Comstedt.

* edit-text.el (lyskom-edit-send): Only bother with
lyskom-unity-text if latin-unity-remap-region is defined as a
function.
parent 5396ef6e
2011-06-09 Ulrik Haugen <ulrik@haugen.se>
Tuned patch from Marcus Comstedt.
* edit-text.el (lyskom-edit-send): Only bother with
lyskom-unity-text if latin-unity-remap-region is defined as a
function.
2011-06-06 Ulrik Haugen <ulrik@haugen.se>
Patch from Marcus Comstedt to select charsets latin-x more often.
......
......@@ -574,7 +574,8 @@ This runs `kom-send-text-hook' and (for backwards compatibility)
'charset)))
(mime-charset (with-temp-buffer
(insert full-message)
(lyskom-unity-text (point-min) (point-max))
(when (fboundp 'latin-unity-remap-region)
(lyskom-unity-text (point-min) (point-max)))
(lyskom-mime-charset-for-text (point-min) (point-max)))))
;; If the charset isn't already set, encode the string
......
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