[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 48335f8 17/18: transient-status: Prevent use
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient 48335f8 17/18: transient-status: Prevent use while minibuffer is active |
Date: |
Sat, 27 Feb 2021 09:20:12 -0500 (EST) |
branch: externals/transient
commit 48335f8370ff15d91874d0091dc97b22c540e15f
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
transient-status: Prevent use while minibuffer is active
This is only a temporary restriction intended to prevent
Emacs from getting stuck in an inconsistent state.
See #112.
---
lisp/transient.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index 51106e7..c01d0cf 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1622,9 +1622,8 @@ be nil and PARAMS may be (but usually is not) used to set
e.g. the
This function is also called internally in which case LAYOUT and
EDIT may be non-nil."
(transient--debug 'setup)
- (when (and (>= (minibuffer-depth) 1) transient--prefix)
- (error "Cannot invoke %s while minibuffer is active %s"
- this-command "on behalf of another prefix command"))
+ (when (> (minibuffer-depth) 0)
+ (user-error "Cannot invoke transient %s while minibuffer is active"))
(transient--with-emergency-exit
(cond
((not name)
- [elpa] externals/transient 8ad5fb8 07/18: Remove async-bytecomp kludge, (continued)
- [elpa] externals/transient 8ad5fb8 07/18: Remove async-bytecomp kludge, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient 7065e1c 09/18: manual: Various small improvements, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient 4fc9aa5 10/18: manual: Fix small typo, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient d48f245 12/18: transient--pre-exit: Don't log clearing of minibuffer, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient 691d10f 11/18: Fix doc-string typo, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient e91ad31 14/18: transient--debug: Show this-command-keys, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient f086cb6 04/18: transient--insert-suffix: Allow same key with different predicates, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient eb39c96 13/18: transient--debug: Always show symbol representing command, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient d85eb79 15/18: transient-read-directory: Pass read value through file-local-name, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient 48238bf 16/18: Allow invoking arbitrary prefixes as non-suffixes, Jonas Bernoulli, 2021/02/27
- [elpa] externals/transient 48335f8 17/18: transient-status: Prevent use while minibuffer is active,
Jonas Bernoulli <=
- [elpa] externals/transient 9ca983b 18/18: Release version 0.3.0, Jonas Bernoulli, 2021/02/27