emacs-diffs
[Top][All Lists]
Advanced

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

master 63618ba 2/2: Add a tooltip to the comint-mode mode line format


From: Lars Ingebrigtsen
Subject: master 63618ba 2/2: Add a tooltip to the comint-mode mode line format
Date: Mon, 6 Sep 2021 06:37:23 -0400 (EDT)

branch: master
commit 63618ba27aeb41c1b0348ac5ef7104bc02b97dc7
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Add a tooltip to the comint-mode mode line format
    
    * lisp/comint.el (comint-mode): Add a tooltip to say what the :run
    bit means (bug#13776).
---
 lisp/comint.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/comint.el b/lisp/comint.el
index 9e3042f..e058e6b 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -665,7 +665,8 @@ to continue it.
 \\{comint-mode-map}
 
 Entry to this mode runs the hooks on `comint-mode-hook'."
-  (setq mode-line-process '(":%s"))
+  (setq mode-line-process
+        (list (propertize ":%s" 'help-echo "Process status")))
   (setq-local window-point-insertion-type t)
   (setq-local comint-last-input-start (point-min-marker))
   (setq-local comint-last-input-end (point-min-marker))



reply via email to

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