Function: ibuffer-do-kill-lines
ibuffer-do-kill-lines is an autoloaded, interactive and byte-compiled
function defined in ibuf-ext.el.gz.
Signature
(ibuffer-do-kill-lines)
Documentation
Hide all of the currently marked lines.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/ibuf-ext.el.gz
;;;###autoload
(defun ibuffer-do-kill-lines ()
"Hide all of the currently marked lines."
(interactive)
(if (= (ibuffer-count-marked-lines) 0)
(message (substitute-command-keys
(concat
"No buffers marked; use \\<ibuffer-mode-map>"
"\\[ibuffer-mark-forward] to mark a buffer")))
(let ((count
(ibuffer-map-marked-lines
(lambda (_buf _mark)
'kill))))
(message "Killed %s lines" count))))