emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/transient 2b7219cf6a 28/41: transient--current-buffer:


From: Jonas Bernoulli
Subject: [elpa] externals/transient 2b7219cf6a 28/41: transient--current-buffer: Fix obsolete variable alias
Date: Sun, 12 Nov 2023 20:04:09 -0500 (EST)

branch: externals/transient
commit 2b7219cf6ae5fd8c56115c4536bdd68e22d1d881
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    transient--current-buffer: Fix obsolete variable alias
    
    Define it before the new variable and correct the version number.
---
 lisp/transient.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index b0c943951a..d98323ea75 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1437,6 +1437,8 @@ 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.")
 
+(define-obsolete-variable-alias 'transient--current-buffer
+  'transient--shadowed-buffer "0.4.4") ; TODO Remove before that release.
 (defvar transient--shadowed-buffer nil
   "The buffer that is temporarily shadowed by the transient buffer.
 This is bound while the suffix predicate is being evaluated and while
@@ -1461,9 +1463,6 @@ This is bound while the suffixes are drawn in the 
transient buffer.")
     mwheel-scroll
     scroll-bar-toolkit-scroll))
 
-(define-obsolete-variable-alias 'transient--current-buffer
-  'transient--shadowed-buffer "0.4.5") ; TODO Remove before that release.
-
 ;;; Identities
 
 (defun transient-suffix-object (&optional command)



reply via email to

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