Function: coding-system-list
coding-system-list is a byte-compiled function defined in mule.el.gz.
Signature
(coding-system-list &optional BASE-ONLY)
Documentation
Return a list of all existing non-subsidiary coding systems.
If optional arg BASE-ONLY is non-nil, only base coding systems are listed. The value doesn't include subsidiary coding systems which are made from bases and aliases automatically for various end-of-line formats (e.g. iso-latin-1-unix, koi8-r-dos).
Probably introduced at or before Emacs version 20.1.
Source Code
;; Defined in /usr/src/emacs/lisp/international/mule.el.gz
(defun coding-system-list (&optional base-only)
"Return a list of all existing non-subsidiary coding systems.
If optional arg BASE-ONLY is non-nil, only base coding systems are
listed. The value doesn't include subsidiary coding systems which are
made from bases and aliases automatically for various end-of-line
formats (e.g. iso-latin-1-unix, koi8-r-dos)."
(let ((codings nil))
(dolist (coding coding-system-list)
(if (eq (coding-system-base coding) coding)
(if base-only
(setq codings (cons coding codings))
(dolist (alias (coding-system-aliases coding))
(setq codings (cons alias codings))))))
codings))