diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-08-05 17:55:56 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-08-05 17:55:56 +0300 |
commit | a06a2950e168dddcbf1c3cd14697875d93a4f9ff (patch) | |
tree | af9e6fc2c54a97ce6996eb731f5abae810e93770 /lisp/emacs-lisp/edebug.el | |
parent | 60e5f212182ca2f41f89a4315075e38433bc8ac0 (diff) | |
download | emacs-a06a2950e168dddcbf1c3cd14697875d93a4f9ff.tar.gz emacs-a06a2950e168dddcbf1c3cd14697875d93a4f9ff.tar.bz2 emacs-a06a2950e168dddcbf1c3cd14697875d93a4f9ff.zip |
Allow user control on char-width of "ambiguous" characters
* src/character.c (syms_of_character) <ambiguous-width-chars>: New
char-table.
* lisp/international/characters.el (ambiguous-width-chars): Fill
the table.
(update-cjk-ambiguous-char-widths): New function.
(cjk-ambiguous-chars-are-wide): New defcustom, uses
'update-cjk-ambiguous-char-widths' as its :set function.
(use-cjk-char-width-table): Obey 'cjk-ambiguous-chars-are-wide' by
adding another child char-table for ambiguous-width characters,
where the width is set according to the option.
* lisp/language/chinese.el ("Chinese-GB", "Chinese-BIG5")
("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"):
* lisp/language/japanese.el ("Japanese"):
* lisp/language/korean.el ("Korean"): Add new language-info slot
'cjk-locale-symbol'.
Bug#64420
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
0 files changed, 0 insertions, 0 deletions