From 98247645a796d81779f5ae77479710b46bf4ca93 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 25 Jun 2019 22:34:47 +0200 Subject: [PATCH] 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 `{'. --- doc/emacs/buffers.texi | 10 +++++----- lisp/emacs-lisp/tabulated-list.el | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index 6face1e73cb..089cfdf0a68 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi @@ -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 diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el index 5617992aae8..63ae1f8c072 100644 --- a/lisp/emacs-lisp/tabulated-list.el +++ b/lisp/emacs-lisp/tabulated-list.el @@ -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) -- 2.39.5