emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/transient d4fb853d49 15/19: transient--show: Also hide


From: Jonas Bernoulli
Subject: [elpa] externals/transient d4fb853d49 15/19: transient--show: Also hide the header-line
Date: Mon, 2 May 2022 05:08:26 -0400 (EDT)

branch: externals/transient
commit d4fb853d49196081269d9cdd267a53c1c0757f23
Author: Damien Cassou <damien@cassou.me>
Commit: Damien Cassou <damien@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

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