Function: update-cjk-ambiguous-char-widths
update-cjk-ambiguous-char-widths is a byte-compiled function defined
in characters.el.gz.
Signature
(update-cjk-ambiguous-char-widths LOCALE-NAME)
Documentation
Update character widths for LOCALE-NAME using ambiguous-width-chars.
LOCALE-NAME is the symbol of a CJK locale, such as 'zh_CN.
Source Code
;; Defined in /usr/src/emacs/lisp/international/characters.el.gz
(defun update-cjk-ambiguous-char-widths (locale-name)
"Update character widths for LOCALE-NAME using `ambiguous-width-chars'.
LOCALE-NAME is the symbol of a CJK locale, such as \\='zh_CN."
(let ((slot (assq locale-name cjk-char-width-table-list)))
(or slot (error "Unknown locale for CJK language environment: %s"
locale-name))
;; Force recomputation of child table in 'use-cjk-char-width-table'.
(setcar (cdr slot) nil)
(use-cjk-char-width-table locale-name)))