summaryrefslogtreecommitdiff
path: root/evil-collection-buff-menu.el
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2018-01-28 11:50:26 -0800
committerJames Nguyen <james@jojojames.com>2018-01-28 11:50:26 -0800
commit71fe3bfcccb1010f9b68569019c86506f1a5addc (patch)
tree4a894376622209987bd4144ef23f827c64857ee8 /evil-collection-buff-menu.el
parent8e531ff597550ed7b3c462082e7b38cb7295b24b (diff)
Buff-menu: Tweak
Diffstat (limited to 'evil-collection-buff-menu.el')
-rw-r--r--evil-collection-buff-menu.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/evil-collection-buff-menu.el b/evil-collection-buff-menu.el
index 1cd1765..edd9a3e 100644
--- a/evil-collection-buff-menu.el
+++ b/evil-collection-buff-menu.el
@@ -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."