Buff-menu: Tweak

This commit is contained in:
James Nguyen 2018-01-28 11:50:26 -08:00
parent 8e531ff597
commit 71fe3bfccc
1 changed files with 2 additions and 1 deletions

View File

@ -33,11 +33,12 @@
;; Code taken from emacs-26 repository.
(require 'tabulated-list)
;; This is for `evil-collection-Buffer-menu-unmark-all-buffers.'
(defsubst evil-collection-buff-menu-tabulated-list-header-overlay-p (&optional pos)
"Return non-nil if there is a fake header.
Optional arg POS is a buffer position where to look for a fake header;
defaults to `point-min'."
(overlays-at (or pos (point-min)))) ;; required for evil-collection-Buffer-menu-unmark-all-buffers
(overlays-at (or pos (point-min))))
(defun evil-collection-buff-menu-Buffer-menu-unmark-all ()
"Cancel all requested operations on buffers."