branch: elpa/git-commit commit 1feda0cb1cf25dfc68a9425af23ac638144f3138 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@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)