[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 01a166fcb8 097/366: Declare variable alias be
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient 01a166fcb8 097/366: Declare variable alias before its referent |
Date: |
Tue, 25 Jan 2022 18:54:30 -0500 (EST) |
branch: externals/transient
commit 01a166fcb8bbd9918ba741e9b5428a4b524eab33
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Declare variable alias before its referent
Since Emacs 27 the byte-compiler tells us to do it in that order.
The warning is shown by `byte-compile-file-form-defvar-function',
which contains a comment providing this justification:
Variable aliases are better declared before the corresponding variable,
since it makes it more likely that only one of the two vars has a value
before the `defvaralias' gets executed, which avoids the need to
merge values.
---
lisp/transient.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index 5e22516c8a..ca60c31440 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1081,13 +1081,13 @@ variable instead.")
"The window that was selected before the transient was invoked.
Usually it remains selected while the transient is active.")
+(define-obsolete-variable-alias 'transient--source-buffer
+ 'transient--original-buffer "Transient 0.2.0")
+
(defvar transient--original-buffer nil
"The buffer that was current before the transient was invoked.
Usually it remains current while the transient is active.")
-(define-obsolete-variable-alias 'transient--source-buffer
- 'transient--original-buffer "Transient 0.2.0")
-
(defvar transient--debug nil "Whether put debug information into *Messages*.")
(defvar transient--history nil)
- [elpa] externals/transient 90e640fe8f 225/366: Bump copyright years, (continued)
- [elpa] externals/transient 90e640fe8f 225/366: Bump copyright years, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 691d10f465 231/366: Fix doc-string typo, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient e91ad31f8a 234/366: transient--debug: Show this-command-keys, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 9ca983bab2 238/366: Release version 0.3.0, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient eff65f1d85 243/366: Revert "manual: Deal with texinfo cross reference idiocy", Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ed4809afb8 255/366: make: Set VERSION, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 1e74060854 270/366: transient-map: Bind C-u to universal-argument, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient f5e600d3f4 284/366: transient-init-value: Fix typo in doc-strings, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ed992c58cd 094/366: Properly handle existing string pseudo suffixes, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 2eff8d57e8 096/366: Add .github/FUNDING.yml, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 01a166fcb8 097/366: Declare variable alias before its referent,
Jonas Bernoulli <=
- [elpa] externals/transient 8232a0aaa2 098/366: manual: Do not require unused magit-utils and org-man, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 68f31ed34f 104/366: manual: Fix broken export rendering by org mistaking `=' for markup, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient d33fe5abaf 101/366: Split new transient-get-value from transient-args, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 7bf97594a5 110/366: transient-infix-read: Bugfix, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 79a72db95f 117/366: Fix typos, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 89e6941a85 111/366: transient-undefined: Make some noise, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 617844abe5 121/366: transient-undefined: Also show the command, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient a1525bb992 124/366: transient--emergency-exit: Improve doc-string, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ff78eddcbf 126/366: Fix indentation, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 970563c54a 129/366: Put transient in extensions custom group, Jonas Bernoulli, 2022/01/25