Variable: language-info-custom-alist
language-info-custom-alist is a customizable variable defined in
mule-cmds.el.gz.
Value
nil
Documentation
Customizations of language environment parameters.
Value is an alist with elements like those of language-info-alist.
These are used to set values in language-info-alist which replace
the defaults. A typical use is replacing the default input method for
the environment. Use C-h L (describe-language-environment) to find the environment's settings.
This option is intended for use at startup. Removing items doesn't remove them from the language info until you next restart Emacs.
Setting this variable directly does not take effect.
See set-language-info-alist for use in programs.
This variable was added, or its default value changed, in Emacs 23.1.
Source Code
;; Defined in /usr/src/emacs/lisp/international/mule-cmds.el.gz
(defcustom language-info-custom-alist nil
"Customizations of language environment parameters.
Value is an alist with elements like those of `language-info-alist'.
These are used to set values in `language-info-alist' which replace
the defaults. A typical use is replacing the default input method for
the environment. Use \\[describe-language-environment] to find the environment's settings.
This option is intended for use at startup. Removing items doesn't
remove them from the language info until you next restart Emacs.
Setting this variable directly does not take effect.
See `set-language-info-alist' for use in programs."
:group 'mule
:version "23.1"
:set (lambda (s v)
(custom-set-default s v)
;; Can't do this before language environments are set up.
(when v
;; modify language-info-alist
(dolist (elt v)
(set-language-info-alist (car elt) (cdr elt)))
;; re-set the environment in case its parameters changed
(set-language-environment current-language-environment)))
:type `(alist
:key-type (string :tag "Language environment"
:completions
,(lambda (string pred action)
(let ((completion-ignore-case t))
(complete-with-action
action language-info-alist string pred))))
:value-type
(alist :key-type symbol
:options ((documentation string)
(charset (repeat charset))
(sample-text string)
(setup-function function)
(exit-function function)
(coding-system (repeat coding-system))
(coding-priority (repeat coding-system))
(nonascii-translation charset)
(input-method mule-input-method-string)
(features (repeat symbol))
(unibyte-display coding-system)))))