bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63825: 29.0.90; The header line should be hidden when empty


From: Eshel Yaron
Subject: bug#63825: 29.0.90; The header line should be hidden when empty
Date: Thu, 01 Jun 2023 19:45:39 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> header-line-format supports :eval and :when, so why cannot
> which-function-mode use those to yield nil when there's nothing to
> show?

I thought so as well, but it seems that the header line is displayed
even when the value of `header-line-format` yields nil, if it isn't
plain nil.

So this shows an empty header line:

--8<---------------cut here---------------start------------->8---
(setq-default header-line-format '(:eval nil))
--8<---------------cut here---------------end--------------->8---

(In Emacs master with -Q.)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]