diff options
| author | Chong Yidong | 2012-05-07 00:45:46 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-05-07 00:45:46 +0800 |
| commit | e5f9458fe818fd87ec99354420c3633ca928d62c (patch) | |
| tree | 33f89a7828b6f63d629871f9b45f05533c0f436c /src | |
| parent | e129292c44b6392adadb27bbd4bce94893316ff9 (diff) | |
| download | emacs-e5f9458fe818fd87ec99354420c3633ca928d62c.tar.gz emacs-e5f9458fe818fd87ec99354420c3633ca928d62c.zip | |
* lisp/buff-menu.el: Convert to Tabulated List mode.
(Buffer-menu-buffer+size-width): Make obsolete.
(Buffer-menu-name-width, Buffer-menu-size-width): New variables.
(Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
(Buffer-menu-mode): Derive from tabulated-list-mode. Move command
documentation into docstring of buffer-menu.
(Buffer-menu-toggle-files-only): Add an informative message.
(Buffer-menu-sort): Convert to alias for tabulated-list-sort.
(Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
(Buffer-menu-unmark, Buffer-menu-backup-unmark)
(Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
(Buffer-menu-execute, Buffer-menu-select)
(Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
(Buffer-menu-bury): Use Tabulated List machinery.
(Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
(Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
Deleted.
(list-buffers--refresh): New function.
(list-buffers-noselect): Use it.
(tabulated-list-entry-size->, Buffer-menu--pretty-name)
(Buffer-menu--pretty-file-name): New helper functions.
* lisp/loadup.el: Preload tabulated-list.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
tabulated-list-sort-column.
(tabulated-list-init-header): Add the initial aligning space even
if tabulated-list-padding is zero.
* src/lisp.mk (lisp): Update.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/lisp.mk | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a4d7bb64919..f5811569d0d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-05-06 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * lisp.mk (lisp): Update. | ||
| 4 | |||
| 1 | 2012-05-05 Jim Meyering <meyering@redhat.com> | 5 | 2012-05-05 Jim Meyering <meyering@redhat.com> |
| 2 | 6 | ||
| 3 | * w32font.c (fill_in_logfont): NUL-terminate a string (Bug#11372). | 7 | * w32font.c (fill_in_logfont): NUL-terminate a string (Bug#11372). |
diff --git a/src/lisp.mk b/src/lisp.mk index 4895ca40959..ead1abcbaae 100644 --- a/src/lisp.mk +++ b/src/lisp.mk | |||
| @@ -129,6 +129,7 @@ lisp = \ | |||
| 129 | $(lispsource)/textmodes/text-mode.elc \ | 129 | $(lispsource)/textmodes/text-mode.elc \ |
| 130 | $(lispsource)/textmodes/fill.elc \ | 130 | $(lispsource)/textmodes/fill.elc \ |
| 131 | $(lispsource)/replace.elc \ | 131 | $(lispsource)/replace.elc \ |
| 132 | $(lispsource)/emacs-lisp/tabulated-list.elc \ | ||
| 132 | $(lispsource)/buff-menu.elc \ | 133 | $(lispsource)/buff-menu.elc \ |
| 133 | $(lispsource)/fringe.elc \ | 134 | $(lispsource)/fringe.elc \ |
| 134 | $(lispsource)/emacs-lisp/regexp-opt.elc \ | 135 | $(lispsource)/emacs-lisp/regexp-opt.elc \ |