diff options
author | JSDurand <mmemmew@gmail.com> | 2021-12-19 13:54:04 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-12-19 13:54:04 +0800 |
commit | 34c09ddc9883d6e9116001b068f5235381d420ce (patch) | |
tree | eb47cbc308835be75d04ff47ed656fea632b047f /.gitignore | |
parent | 94a8a4996689282c659f04f933334f937ee61ead (diff) |
modeline: clean format and use truncate-string-to-width
* modeline.el (modeline-format-main): Using string-width to calculate
the widths of strings is more accurate than my previous hand-made
function.
(modeline-length): This is no longer needed and now marked as
obsolete. It is not deleted entirely since per chance some other
places are still using it.
(modeline-format-minor-modes, modeline-format-buffer-name): Use
truncate-string-to-width instead.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions