Function: ogonek-lookup-encoding

ogonek-lookup-encoding is a byte-compiled function defined in ogonek.el.gz.

Signature

(ogonek-lookup-encoding ENCODING)

Documentation

Pick up an association for ENCODING in ogonek-name-encoding-alist.

Before returning a result test whether the string ENCODING is in the list ogonek-name-encoding-alist.

Source Code

;; Defined in /usr/src/emacs/lisp/international/ogonek.el.gz
(defun ogonek-lookup-encoding (encoding)
  "Pick up an association for ENCODING in `ogonek-name-encoding-alist'.
Before returning a result test whether the string ENCODING is in
the list `ogonek-name-encoding-alist'."
  (let ((code-list (assoc encoding ogonek-name-encoding-alist)))
    (if (null code-list)
      (error "! Name `%s' not known in `ogonek-name-encoding-alist'"
               encoding)
      (cdr code-list))))