]> git.eshelyaron.com Git - emacs.git/commit
Align columns in which-key with wide characters properly
authorThomas Voss <mail@thomasvoss.com>
Wed, 25 Sep 2024 00:17:49 +0000 (02:17 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 30 Sep 2024 19:39:01 +0000 (21:39 +0200)
commit7b185aeee38c6e13fa255ed45a4e052ba14b2ee0
treeb7e3d63dd7db5de2232d62a29a96bf89475d886e
parent9a5c45efa1eb082d36ade49bed81ebab2fcc507e
Align columns in which-key with wide characters properly

In the case that a character takes up multple columns (such as
`…' when used as a truncation character), make sure that the
columns are still aligned properly.
* lisp/which-key.el (which-key--pad-column): Use `string-width'
instead of `length'.  (Bug#73463)

Copyright-paperwork-exempt: yes
(cherry picked from commit 7766ba8419955104fb675a6f4134a8a34ea73e43)
lisp/which-key.el