>>>> Stephen J Turnbull <stephen(a)xemacs.org> writes:
(get-coding-system 'utf-8)
is all you need to do.
[...]
Are you saying I should just do a top-level call to get-coding-system?
(And let a possible error stop further processing?)
That didn't feel right so I tried to steel the code from somewhere
else but I fail to find any other place that checks for this. So this
would be the first files to check for utf-8 coding system in order to
refuse to load!?
This is what came up with. OK?
(eval-when (load eval)
(unless (find-coding-system 'utf-8)
(error 'invalid-operation "`idna.el' requires support for the utf-8
coding system")))
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta