[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9f5048456a: Improve `M-x speedbar' under emacs -nw very slightly
From: |
Lars Ingebrigtsen |
Subject: |
master 9f5048456a: Improve `M-x speedbar' under emacs -nw very slightly |
Date: |
Sun, 23 Jan 2022 08:47:43 -0500 (EST) |
branch: master
commit 9f5048456af11b533c8762d8e1f7d63cda896535
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Improve `M-x speedbar' under emacs -nw very slightly
* lisp/speedbar.el (speedbar-frame-mode): `M-x speedbar' doesn't
seem to do anything visible under -nw, so issue a message in that
case to tell the user how to proceed (bug#32597).
---
lisp/speedbar.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index e63a2642fe..b2e7be1505 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -938,7 +938,9 @@ supported at a time.
;; hscroll
(setq-local auto-hscroll-mode nil)
;; reset the selection variable
- (setq speedbar-last-selected-file nil))
+ (setq speedbar-last-selected-file nil)
+ (unless (display-graphic-p)
+ (message "Use `M-x speedbar-get-focus' to see the speedbar window")))
(defun speedbar-frame-reposition-smartly ()
"Reposition the speedbar frame to be next to the attached frame."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9f5048456a: Improve `M-x speedbar' under emacs -nw very slightly,
Lars Ingebrigtsen <=