[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit fc61ce236d 2/2: Move a variable alias before th
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit fc61ce236d 2/2: Move a variable alias before the new definition |
Date: |
Tue, 23 Jan 2024 10:00:06 -0500 (EST) |
branch: elpa/git-commit
commit fc61ce236d5f8fedff9f469fdb25b4d5d49694e8
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Move a variable alias before the new definition
Unlike face and function aliases, variable aliases should be declared
before the actual definition.
---
lisp/git-commit.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lisp/git-commit.el b/lisp/git-commit.el
index 00db63f0f5..440bc03bf9 100644
--- a/lisp/git-commit.el
+++ b/lisp/git-commit.el
@@ -142,6 +142,11 @@
(defvar font-lock-end)
(defvar recentf-exclude)
+(define-obsolete-variable-alias
+ 'git-commit-known-pseudo-headers
+ 'git-commit-trailers
+ "git-commit 4.0.0")
+
;;; Options
;;;; Variables
@@ -1231,10 +1236,6 @@ Elisp doc-strings, including this one. Unlike in
doc-strings,
'git-commit-insert-header
'git-commit--insert-ident-trailer
"git-commit 4.0.0")
-(define-obsolete-variable-alias
- 'git-commit-known-pseudo-headers
- 'git-commit-trailers
- "git-commit 4.0.0")
(define-obsolete-face-alias
'git-commit-pseudo-header
'git-commit-trailer-value