aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTino Calancha2016-11-22 15:23:50 +0900
committerTino Calancha2016-11-22 15:23:50 +0900
commit27b754cb4432ece3efe3fc9d8e52a869ae061b7f (patch)
treea0b2c5c7a1747c07c41187723b629280a9e6f05c /doc
parent3c194dafe080c45528063a20075f8cd53a3760b3 (diff)
downloademacs-27b754cb4432ece3efe3fc9d8e52a869ae061b7f.tar.gz
emacs-27b754cb4432ece3efe3fc9d8e52a869ae061b7f.zip
buff-menu: Add command to unmark all buffers
Bind 'U' in buff-menu, bs and electric-buff-menu to commands to unmark all buffers (Bug#24880). * lisp/emacs-lisp/tabulated-list.el (tabulated-list-header-overlay-p): New predicate; return non-nil if tabulated-list has a fake header. * lisp/buff-menu.el (Buffer-menu-unmark-all-buffers): New command; remove all flags that use a particular mark from all the lines. Bind it to 'M-DEL'. (Buffer-menu-unmark-all): New command; remove all flags from all the lines. Bind it to 'U'. (Buffer-menu-marker-char, Buffer-menu-del-char): New variables. (Buffer-menu-delete, Buffer-menu-mark): Use them. (Buffer-menu-mode-map): Update menus. (Buffer-menu-mode): Update mode doc. * lisp/bs.el (bs-unmark-all, bs-unmark-previous): New commands. (bs-mode-map): Bind them to 'U' and '<backspace>' respectively. (bs-mode): Update mode doc. * lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Bind Buffer-menu-unmark-all to 'U' and Buffer-menu-unmark-all-buffers to 'M-DEL'. (bs--down, bs-down, bs--up, bs-up, bs-unmark-current, bs-mark-current): Use point instead of cursor in doc string. (electric-buffer-list): Update mode doc. * doc/emacs/buffers.texi (Several Buffers): Mention Buffer-menu-unmark-all and Buffer-menu-unmark-all-buffers. ; * etc/NEWS: Add an entry per each new feature.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/buffers.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi
index 2eb837f1510..c70e583b9ed 100644
--- a/doc/emacs/buffers.texi
+++ b/doc/emacs/buffers.texi
@@ -411,6 +411,18 @@ Remove all flags from the current line, and move down
411@kindex DEL @r{(Buffer Menu)} 411@kindex DEL @r{(Buffer Menu)}
412Move to the previous line and remove all flags on that line 412Move to the previous line and remove all flags on that line
413(@code{Buffer-menu-backup-unmark}). 413(@code{Buffer-menu-backup-unmark}).
414
415@item M-@key{DEL}
416@findex Buffer-menu-unmark-all-buffers
417@kindex M-DEL @r{(Buffer Menu)}
418Remove a particular flag from all lines
419(@code{Buffer-menu-unmark-all-buffers}).
420
421@item U
422@findex Buffer-menu-unmark-all
423@kindex U @r{(Buffer Menu)}
424Remove all flags from all the lines
425(@code{Buffer-menu-unmark-all}).
414@end table 426@end table
415 427
416@noindent 428@noindent