Move widen/narrow in tabulated lists to } and {

* doc/emacs/buffers.texi (Several Buffers): Document it.

* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode-map):
Move widen/narrow to `}' and `{'.
This commit is contained in:
Lars Ingebrigtsen 2019-06-25 22:34:47 +02:00
parent bc780a4691
commit 98247645a7
2 changed files with 7 additions and 7 deletions

View file

@ -550,16 +550,16 @@ Sort the Buffer Menu entries according to their values in the column
at point. With a numeric prefix argument @var{n}, sort according to
the @var{n}-th column (@code{tabulated-list-sort}).
@item w
@kindex w @r{(Buffer Menu)}
@item }
@kindex } @r{(Buffer Menu)}
@findex tabulated-list-widen-current-column
Widen the current column width by @var{n} (the prefix numeric
argument) characters.
@item c
@kindex c @r{(Buffer Menu)}
@item {
@kindex { @r{(Buffer Menu)}
@findex tabulated-list-narrow-current-column
Make the current column contract its width by @var{n} (the prefix numeric
Narrow the current column width by @var{n} (the prefix numeric
argument) characters.
@item T

View file

@ -200,8 +200,8 @@ If ADVANCE is non-nil, move forward by one line afterwards."
(define-key map "n" 'next-line)
(define-key map "p" 'previous-line)
(define-key map "S" 'tabulated-list-sort)
(define-key map "w" 'tabulated-list-widen-current-column)
(define-key map "c" 'tabulated-list-narrow-current-column)
(define-key map "}" 'tabulated-list-widen-current-column)
(define-key map "{" 'tabulated-list-narrow-current-column)
(define-key map [follow-link] 'mouse-face)
(define-key map [mouse-2] 'mouse-select-window)
map)