diff options
| author | Tino Calancha | 2016-11-22 15:51:57 +0900 |
|---|---|---|
| committer | Tino Calancha | 2016-11-22 15:51:57 +0900 |
| commit | 4940e0f9111731d8917bd98f885c34291cea04eb (patch) | |
| tree | 60ede6ff0993e68a44219391ab03c668ffa3ad37 | |
| parent | 27b754cb4432ece3efe3fc9d8e52a869ae061b7f (diff) | |
| download | emacs-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.el | 2 |
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) |