[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient a53205c51b 10/17: Move definition of transien
|
From: |
Jonas Bernoulli |
|
Subject: |
[elpa] externals/transient a53205c51b 10/17: Move definition of transient--restore-winconf |
|
Date: |
Tue, 21 Nov 2023 10:17:50 -0500 (EST) |
branch: externals/transient
commit a53205c51be9340160172ea5e347bab188e78277
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Move definition of transient--restore-winconf
Also add docstring and only make local when setting.
---
lisp/transient.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index 08773d7c0f..dc9483fa52 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1438,6 +1438,9 @@ Usually it remains selected while the transient is
active.")
"The buffer that was current before the transient was invoked.
Usually it remains current while the transient is active.")
+(defvar transient--restore-winconf nil
+ "Window configuration to restore after exiting help.")
+
(define-obsolete-variable-alias 'transient--current-buffer
'transient--shadowed-buffer "Transient 0.5.0")
(defvar transient--shadowed-buffer nil
@@ -2716,8 +2719,6 @@ transient is active."
(interactive)
(setq transient--showp t))
-(defvar-local transient--restore-winconf nil)
-
(defvar transient-resume-mode)
(defun transient-help (&optional interactive)
@@ -2735,7 +2736,7 @@ transient is active."
transient--prefix
(or (transient-suffix-object)
this-original-command)))
- (setq transient--restore-winconf winconf))
+ (setq-local transient--restore-winconf winconf))
(fit-window-to-buffer nil (frame-height) (window-height))
(transient-resume-mode)
(message (substitute-command-keys
- [elpa] externals/transient updated (3cd1de1695 -> 57bb749f98), Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient 43e9c16d0c 05/17: Next release will be 0.5.0, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient 609dabfdac 02/17: transient-prefix: Add experimental transient-switch-frame slot, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient c7daf2d34e 03/17: Make shadowed buffer current when calling a group's hide function, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient d39916a43d 08/17: transient-help: Propertize key binding in message, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient 7bb6f670fa 09/17: Move definition of transient button-type, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient a53205c51b 10/17: Move definition of transient--restore-winconf,
Jonas Bernoulli <=
- [elpa] externals/transient 7da468ef9d 07/17: transient-format(around:suffix): Absorb around:infix method, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient c885d12b54 15/17: Move definition of transient-resume-mode-map, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient 413f76a783 16/17: Collect most commands in one section, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient fdd0532575 06/17: transient-format(around:suffix): Cosmetics, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient ee26a40301 14/17: Move definition of transient-toggle-common, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient 57bb749f98 17/17: Remove obsolete function alias transient--current-buffer after all, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient 38c548e06b 04/17: Keep obsolete transient--current-buffer for one release, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient c55defa145 01/17: Account for shorthands when determining handle-switch-frame predicate, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient 45fd93d972 11/17: Move definitions of transient-scroll-{up, down}, Jonas Bernoulli, 2023/11/21
- [elpa] externals/transient 923246d174 12/17: Move definition of transient-popup-navigation-help, Jonas Bernoulli, 2023/11/21