Function: quail-install-decode-map

quail-install-decode-map is an autoloaded and byte-compiled function defined in quail.el.gz.

Signature

(quail-install-decode-map DECODE-MAP &optional NAME)

Documentation

Install the Quail decode map DECODE-MAP in the current Quail package.

Optional 2nd arg NAME, if non-nil, is a name of Quail package for which to install MAP.

The installed decode map can be referred by the function quail-decode-map.

Source Code

;; Defined in /usr/src/emacs/lisp/international/quail.el.gz
;;;###autoload
(defun quail-install-decode-map (decode-map &optional _name)
  "Install the Quail decode map DECODE-MAP in the current Quail package.

Optional 2nd arg NAME, if non-nil, is a name of Quail package for
which to install MAP.

The installed decode map can be referred by the function `quail-decode-map'."
  (if (null quail-current-package)
      (error "No current Quail package"))
  (if (if (consp decode-map)
	  (eq (car decode-map) 'decode-map)
	(if (char-table-p decode-map)
	    (eq (char-table-subtype decode-map) 'quail-decode-map)))
      (setcar (nthcdr 10 quail-current-package) decode-map)
    (error "Invalid Quail decode map `%s'" decode-map)))