Commit a6c08bee authored by Daiki Ueno's avatar Daiki Ueno
Browse files

Allow 0xXXXX in mim2remap.el.

parent c2d2c866
......@@ -151,7 +151,16 @@
(error "No keyname for %c" (aref from 0))))
(list (cons :text (if (characterp to)
(char-to-string to)
to))
(if (and (symbolp to)
(string-match
"\\`0x\\([0-9A-Fa-f]+\\)"
(symbol-name to)))
(char-to-string (string-to-number
(match-string
1
(symbol-name to))
16))
to)))
(cons :category 'letter)))))
(cdr sexp))))))
......
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