branch: externals/transient
commit d4fb853d49196081269d9cdd267a53c1c0757f23
Author: Damien Cassou <dam...@cassou.me>
Commit: Damien Cassou <dam...@cassou.me>

    transient--show: Also hide the header-line
    
    Some Emacs users move the content of the mode-line to the
    header-line. This is also what nano-modeline [1] does by
    default. `transient--show` hides the mode-line and the tab-line but
    not the header-line. As a result, the last line of transient buffers
    are invisible for these users. Hiding the header-line fixes the issue.
    
    https://github.com/rougier/nano-modeline
---
 lisp/transient.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/transient.el b/lisp/transient.el
index 73f19e09cf..c740c4779f 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3182,6 +3182,7 @@ have a history of their own.")
       (setq window-size-fixed t)
       (when (bound-and-true-p tab-line-format)
         (setq tab-line-format nil))
+      (setq header-line-format nil)
       (setq mode-line-format (if (eq transient-mode-line-format 'line)
                                  nil
                                transient-mode-line-format))

Reply via email to