I want to specify a different font from my default font for runic characters in Emacs.
I tried both:
(set-fontset-font "fontset-default" '(#16a0 . #16ff) "Junicode:Regular")
and
(set-fontset-font "fontset-default" 'runic "Junicode:Regular")
and neither seemed to work. The first reports:
(invalid-read-syntax "#")
and the latter seems to silently fail.
#
. Characters in Emacs Lisp are just integers, but there's a special syntax to write them, which starts with?
and is followed by the printable version of the character. If you wanted to write a hexadecimal representation, then the proper way of doing it is16#a0
and16#ff
respectively.16#a0
and16#ff
.#xa0
and#xff
.