branch: elpa/magit commit cb1202729c3f5cfdbbdea4535776dd0c92caf3a6 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
git-rebase-region-bounds: Cosmetics --- lisp/git-rebase.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/git-rebase.el b/lisp/git-rebase.el index 8d7deb88102..f552e4ae0d6 100644 --- a/lisp/git-rebase.el +++ b/lisp/git-rebase.el @@ -379,9 +379,9 @@ if any." (line-beginning-position))) (end (save-excursion (goto-char (region-end)) (line-end-position)))) - (when (and (git-rebase-line-p beg) - (git-rebase-line-p end)) - (list beg (1+ end))))) + (and (git-rebase-line-p beg) + (git-rebase-line-p end) + (list beg (1+ end))))) ((and fallback (git-rebase-line-p)) (list (line-beginning-position) (1+ (line-end-position))))))