diff options
author | Chong Yidong <cyd@gnu.org> | 2012-05-06 16:32:37 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-05-06 16:32:37 +0800 |
commit | 6632d361114f2d104b689e2213dce1eb3474de0a (patch) | |
tree | f632b6c5ac65baebc931028cc33d28597573b5aa /lisp/emacs-lisp/cl-loaddefs.el | |
parent | 52b61776c594e1e4f30f8e281e7ead79d56383d5 (diff) | |
download | emacs-6632d361114f2d104b689e2213dce1eb3474de0a.tar.gz emacs-6632d361114f2d104b689e2213dce1eb3474de0a.tar.bz2 emacs-6632d361114f2d104b689e2213dce1eb3474de0a.zip |
Improvements for Tabulated List mode.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-format): Accept
additional plist in column descriptors.
(tabulated-list-init-header): Obey it.
(tabulated-list-get-entry): New function.
(tabulated-list-put-tag): Use it. Use string-width instead of
length.
(tabulated-list--column-number): New function.
(tabulated-list-print): Use it.
(tabulated-list-print-col): New function. Set
`tabulated-list-column-name' property on each column's text.
(tabulated-list-print-entry): Use it.
(tabulated-list-delete-entry, tabulated-list-set-col): New
functions.
(tabulated-list-sort-column): New command.
Fixes: debbugs:11337
Diffstat (limited to 'lisp/emacs-lisp/cl-loaddefs.el')
0 files changed, 0 insertions, 0 deletions