Improve column width calculation in tabulated-list.el.
commitf0bcceb9955d5aef6a131a86c4f74cc3e6e4c9ec
authorChong Yidong <cyd@gnu.org>
Tue, 20 Mar 2012 15:44:45 +0000 (20 23:44 +0800)
committerChong Yidong <cyd@gnu.org>
Tue, 20 Mar 2012 15:44:45 +0000 (20 23:44 +0800)
tree1dab38ca0fde3e8d687db038d8ff0f96bc68c24a
parent025de85b0709596975ddcd0fa298f88d12493254
Improve column width calculation in tabulated-list.el.

* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Use
string-width and truncate-string-width to handle arbitrary
characters.
lisp/ChangeLog
lisp/emacs-lisp/tabulated-list.el