[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit d66104373f 2/3: magit-submodule-list-refresh: C
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit d66104373f 2/3: magit-submodule-list-refresh: Consistently use magit-repolist-columns |
Date: |
Wed, 16 Feb 2022 13:58:03 -0500 (EST) |
branch: elpa/git-commit
commit d66104373faab7d239f1f899feed8240edc425c4
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-submodule-list-refresh: Consistently use magit-repolist-columns
`magit-setup-list-setup' sets `magit-repolist-columns' to the value of
its COLUMNS argument, which usually is `magit-submodule-list-columns';
but that doesn't have to be the case.
---
lisp/magit-submodule.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/magit-submodule.el b/lisp/magit-submodule.el
index a6d98231f9..6b1ff79628 100644
--- a/lisp/magit-submodule.el
+++ b/lisp/magit-submodule.el
@@ -637,8 +637,8 @@ These sections can be expanded to show the respective
commits."
(unless tabulated-list-sort-key
(setq tabulated-list-sort-key
(pcase-let ((`(,column . ,flip) magit-submodule-list-sort-key))
- (cons (or (car (assoc column magit-submodule-list-columns))
- (caar magit-submodule-list-columns))
+ (cons (or (car (assoc column magit-repolist-columns))
+ (caar magit-repolist-columns))
flip))))
(setq tabulated-list-format
(vconcat (mapcar (pcase-lambda (`(,title ,width ,_fn ,props))