[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8c3338f6ba3: Avoid spurious whitespace in the modeline of emacscl
From: |
Eli Zaretskii |
Subject: |
master 8c3338f6ba3: Avoid spurious whitespace in the modeline of emacsclient frames |
Date: |
Fri, 28 Jul 2023 08:38:47 -0400 (EDT) |
branch: master
commit 8c3338f6ba354218aee12c223d778be4180f892b
Author: Ulrich Müller <ulm@gentoo.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Avoid spurious whitespace in the modeline of emacsclient frames
* lisp/bindings.el (mode-line-client): Compute 'help-echotext
property in advance. (Bug#58183)
---
lisp/bindings.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 0a0fef1b564..22f05939235 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -226,9 +226,9 @@ mnemonics of the following coding systems:
(put 'mode-line-mule-info 'risky-local-variable t)
(defvar mode-line-client
- `(""
- (:propertize ("" (:eval (if (frame-parameter nil 'client) "@" "")))
- help-echo ,(purecopy "emacsclient frame")))
+ `(:eval
+ (if (frame-parameter nil 'client)
+ ,(propertize "@" 'help-echo (purecopy "emacsclient frame"))))
"Mode line construct for identifying emacsclient frames.")
;; Autoload if this file no longer dumped.
;;;###autoload
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 8c3338f6ba3: Avoid spurious whitespace in the modeline of emacsclient frames,
Eli Zaretskii <=