Buffer-menu-no-header: Detect a fake header

* lisp/buff-menu.el (Buffer-menu-no-header): Use
'tabulated-list-header-overlay-p' (Bug#24855).
This commit is contained in:
Tino Calancha 2016-11-22 15:51:57 +09:00
parent 27b754cb44
commit 4940e0f911

View file

@ -344,7 +344,7 @@ is nil or omitted, and signal an error otherwise."
(defun Buffer-menu-no-header ()
(beginning-of-line)
(if (or Buffer-menu-use-header-line
(not (eq (char-after) ?C)))
(not (tabulated-list-header-overlay-p (point))))
t
(ding)
(forward-line 1)