Function: iso-transl-set-language

iso-transl-set-language is an interactive and byte-compiled function defined in iso-transl.el.gz.

Signature

(iso-transl-set-language LANG)

Documentation

Set shorter key bindings for some characters relevant for LANG.

This affects the \C-x 8 prefix.

Note that only a few languages are supported, and for more rigorous support it is recommended to use an input method instead. Also note that many of these characters can be input with the regular \C-x 8 map without having to specify a language here.

Probably introduced at or before Emacs version 30.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/international/iso-transl.el.gz
(defun iso-transl-set-language (lang)
  "Set shorter key bindings for some characters relevant for LANG.
This affects the \\`C-x 8' prefix.

Note that only a few languages are supported, and for more
rigorous support it is recommended to use an input method
instead.  Also note that many of these characters can be input
with the regular \\`C-x 8' map without having to specify a language
here."
  (interactive (list (let ((completion-ignore-case t))
		       (completing-read "Set which language? "
					iso-transl-language-alist nil t))))
  (iso-transl-define-keys (cdr (assoc lang iso-transl-language-alist))))