]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow sorting in electric-buffer-list with `S'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Jan 2022 16:22:49 +0000 (17:22 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Jan 2022 17:19:38 +0000 (18:19 +0100)
* lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Add the `S'
sorting command here, too (bug#20178).

lisp/ebuff-menu.el

index 0c3d4af569d13cc2e5a04a173517c558d5daae40..2b1fc916d9f4d2faf20bfb6fa511db5b03ec4f21 100644 (file)
@@ -48,6 +48,7 @@
     (define-key map "\C-m" #'Electric-buffer-menu-select)
     (define-key map "\C-l" #'recenter)
     (define-key map "s" #'Buffer-menu-save)
+    (define-key map "S" #'tabulated-list-sort)
     (define-key map "d" #'Buffer-menu-delete)
     (define-key map "k" #'Buffer-menu-delete)
     (define-key map "\C-d" #'Buffer-menu-delete-backwards)