[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark c794ca3fc6 2/2: Change wording of message in emb
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark c794ca3fc6 2/2: Change wording of message in embark-completing-read-prompter |
Date: |
Sat, 29 Jan 2022 18:57:35 -0500 (EST) |
branch: externals/embark
commit c794ca3fc630eee6401121f89fc53bb794c7aab3
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>
Change wording of message in embark-completing-read-prompter
This changes the text of the user warning given in the completing-read
prompter in case embark-cycle-key = nil, there are no further targets
and the user presses the embark-act key binding.
It previously said: "Single target; can't cycle. Press `%s' again to
act." But embark-completing-read-prompter is not used only for help
during embark-act: it is also used for embark-prefix-help-command,
embark-bindings-in-keymap, embark-bindings-at-point, and
embark-bindings; and in those cases the "single target" part of the
message was inaccurate.
I noticed this while fixing #450.
---
embark.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/embark.el b/embark.el
index e8bacd6682..4393f17e58 100644
--- a/embark.el
+++ b/embark.el
@@ -1289,8 +1289,7 @@ UPDATE function is passed to it."
(lambda ()
(interactive)
(minibuffer-message
- (concat "Single target; can't cycle. "
- "Press `%s' again to act.")
+ "No cycling possible; press `%s' again to act."
(key-description cycle))
(define-key map cycle #'embark-act))))))
(when embark-keymap-prompter-key