aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTino Calancha2016-11-22 15:51:57 +0900
committerTino Calancha2016-11-22 15:51:57 +0900
commit4940e0f9111731d8917bd98f885c34291cea04eb (patch)
tree60ede6ff0993e68a44219391ab03c668ffa3ad37
parent27b754cb4432ece3efe3fc9d8e52a869ae061b7f (diff)
downloademacs-4940e0f9111731d8917bd98f885c34291cea04eb.tar.gz
emacs-4940e0f9111731d8917bd98f885c34291cea04eb.zip
Buffer-menu-no-header: Detect a fake header
* lisp/buff-menu.el (Buffer-menu-no-header): Use 'tabulated-list-header-overlay-p' (Bug#24855).
-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."
344(defun Buffer-menu-no-header () 344(defun Buffer-menu-no-header ()
345 (beginning-of-line) 345 (beginning-of-line)
346 (if (or Buffer-menu-use-header-line 346 (if (or Buffer-menu-use-header-line
347 (not (eq (char-after) ?C))) 347 (not (tabulated-list-header-overlay-p (point))))
348 t 348 t
349 (ding) 349 (ding)
350 (forward-line 1) 350 (forward-line 1)