summaryrefslogtreecommitdiff
path: root/lisp/buff-menu.el
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2016-11-22 15:51:57 +0900
committerTino Calancha <tino.calancha@gmail.com>2016-11-22 15:51:57 +0900
commit4940e0f9111731d8917bd98f885c34291cea04eb (patch)
tree60ede6ff0993e68a44219391ab03c668ffa3ad37 /lisp/buff-menu.el
parent27b754cb4432ece3efe3fc9d8e52a869ae061b7f (diff)
downloademacs-4940e0f9111731d8917bd98f885c34291cea04eb.tar.gz
Buffer-menu-no-header: Detect a fake header
* lisp/buff-menu.el (Buffer-menu-no-header): Use 'tabulated-list-header-overlay-p' (Bug#24855).
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r--lisp/buff-menu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index f34c814feab..e2aa2da0388 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -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)