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

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

[elpa] externals/transient 62b18fef2b 115/366: transient-mode-line-forma


From: Jonas Bernoulli
Subject: [elpa] externals/transient 62b18fef2b 115/366: transient-mode-line-format: Don't without a window-system
Date: Tue, 25 Jan 2022 18:54:32 -0500 (EST)

branch: externals/transient
commit 62b18fef2b1b4ba9b09e40ebb6e22df29eddd142
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    transient-mode-line-format: Don't without a window-system
    
    Trying to display a thin line in a terminal results in a very
    thick line being displayed instead, so don't try to do it.
---
 lisp/transient.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 985a5a12d4..38a7f112b8 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -141,7 +141,7 @@ want to change the value of `transient-mode-line-format'."
   :type '(cons (choice function (repeat :tag "Functions" function))
                alist))
 
-(defcustom transient-mode-line-format 'line
+(defcustom transient-mode-line-format (and window-system 'line)
   "The mode-line format for the transient popup buffer.
 
 If nil, then the buffer has no mode-line.  If the buffer is not



reply via email to

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