>>>> "Golubev" == Golubev I N
<gin(a)mo.msk.ru> writes:
Golubev> Versions: 21.1, 21.5 `coding-system-p' documentation
Golubev> says:
> Coding systems are normally identified using a symbol, and the
> symbol is accepted in place of the actual coding system object
> whenever a coding system is called for.
Golubev> Emacs does the same, and there is code depending on it.
Golubev> However,
Golubev> (coding-system-p 'iso-8859-1) => nil
That's right. `coding-system-p' does not "call for a coding system,"
ie it is not an error to pass `coding-system-p' an object which is not
a coding system object or name. `facep' behaves identically, as does
`charsetp'. In each case there is a find-TYPE function which has
TYPE-object-or-name-p semantics for TYPE objects and symbols.
What do you want the docstring to say? Something like "Use
`find-coding-system' to determine whether a symbol names a coding
system or not"?
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Don't ask how you can "do" free software business;
ask what your business can "do for" free software.