[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 1feda0c 3/4: magit-{repolist, submodule-list}-r
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 1feda0c 3/4: magit-{repolist, submodule-list}-refresh: Remember position |
Date: |
Mon, 18 Oct 2021 11:57:38 -0400 (EDT) |
branch: elpa/git-commit
commit 1feda0cb1cf25dfc68a9425af23ac638144f3138
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-{repolist,submodule-list}-refresh: Remember position
---
Documentation/RelNotes/3.4.0.org | 3 +++
lisp/magit-repos.el | 2 +-
lisp/magit-submodule.el | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/RelNotes/3.4.0.org b/Documentation/RelNotes/3.4.0.org
index 472cda1..01f6d84 100644
--- a/Documentation/RelNotes/3.4.0.org
+++ b/Documentation/RelNotes/3.4.0.org
@@ -7,6 +7,9 @@
- Some repository and submodule list columns got a bit fancier.
+- Refreshing a repository or submodule list buffer now restores the
+ previous position.
+
** Fixes since v3.3.0
- Automatic saving of file-visiting buffers was broken inside remote
diff --git a/lisp/magit-repos.el b/lisp/magit-repos.el
index 24b7ed5..0224708 100644
--- a/lisp/magit-repos.el
+++ b/lisp/magit-repos.el
@@ -213,7 +213,7 @@ repositories are displayed."
(magit-list-repos)))))
(message "Listing repositories...")
(tabulated-list-init-header)
- (tabulated-list-print)
+ (tabulated-list-print t)
(message "Listing repositories...done"))
;;;; Columns
diff --git a/lisp/magit-submodule.el b/lisp/magit-submodule.el
index 9458f64..20ef379 100644
--- a/lisp/magit-submodule.el
+++ b/lisp/magit-submodule.el
@@ -659,7 +659,7 @@ These sections can be expanded to show the respective
commits."
(magit-list-module-paths)))
(message "Listing submodules...")
(tabulated-list-init-header)
- (tabulated-list-print)
+ (tabulated-list-print t)
(message "Listing submodules...done"))
(defun magit-modulelist-column-path (spec)