Add a docstring to `iso-transl-set-language'

* lisp/international/iso-transl.el: Document
`iso-transl-set-language' (bug#52261).
Copyright-paperwork-exempt: yes
This commit is contained in:
Tor Kringeland 2021-12-03 18:09:07 +01:00 committed by Lars Ingebrigtsen
parent d003f70c6f
commit d0997eefea

View file

@ -307,6 +307,14 @@ sequence VECTOR. (VECTOR is normally one character long.)")
(setq alist (cdr alist))))
(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))))