Last active
December 13, 2015 22:49
-
-
Save kmaed/4986993 to your computer and use it in GitHub Desktop.
Patch to utf-tool.el for >= emacs-23.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- utf-tool.el.orig 2013-02-20 08:17:48.933065400 +0900 | |
+++ utf-tool.el 2013-02-20 08:09:10.473884298 +0900 | |
@@ -62,7 +62,7 @@ | |
(unless | |
(memq charset '(ascii japanese-jisx0208 katakana-jisx0201)) | |
(if (or (< char 256) | |
- (memq 'mule-utf-8 (find-coding-systems-region pos (1+ pos))) | |
+ (memq 'utf-8 (find-coding-systems-region pos (1+ pos))) | |
(get-char-property pos 'untranslated-utf-8)) | |
(setq unicode (or (get-char-property pos 'untranslated-utf-8) | |
(encode-char char 'ucs)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment