summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-12-19 13:54:04 +0800
committerJSDurand <mmemmew@gmail.com>2021-12-19 13:54:04 +0800
commit34c09ddc9883d6e9116001b068f5235381d420ce (patch)
treeeb47cbc308835be75d04ff47ed656fea632b047f /desktop
parent94a8a4996689282c659f04f933334f937ee61ead (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 'desktop')
0 files changed, 0 insertions, 0 deletions