diff options
author | Gustav Hållberg <gustav@gmail.com> | 2012-04-06 21:32:23 +0200 |
---|---|---|
committer | Gustav Hållberg <gustav@gmail.com> | 2012-04-09 09:23:19 +0200 |
commit | 64b814fac4f76232dae8e95b8b5d0004d92108a4 (patch) | |
tree | 09eba1af95b95b75e128346138d70d545f575b52 | |
parent | ab228bc3b13dbb0cdc256272a54759f041fd8908 (diff) | |
download | stgit-64b814fac4f76232dae8e95b8b5d0004d92108a4.tar.gz |
stgit.el: Make "i" set mark correctly when working on the entire patch
Signed-off-by: Gustav Hållberg <gustav@gmail.com>
-rw-r--r-- | contrib/stgit.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/stgit.el b/contrib/stgit.el index 00ef49a..b1ab5be 100644 --- a/contrib/stgit.el +++ b/contrib/stgit.el @@ -2327,6 +2327,7 @@ file ended up. You can then jump to the file with \ (stgit-refresh-index) (stgit-goto-patch (if (eq patch-name :index) :work :index) mark-file) (push-mark nil t t) + (setq deactivate-mark t) (stgit-goto-patch patch-name point-file)))) (defun stgit-toggle-index () @@ -2356,6 +2357,9 @@ file ended up. You can then jump to the file with \ (stgit-run-git "reset" "--mixed" "-q"))) (stgit-refresh-worktree) (stgit-refresh-index)) + (stgit-goto-patch patch-name) + (push-mark nil t t) + (setq deactivate-mark t) (stgit-goto-patch (if (eq patch-name :index) :work :index))))) (defun stgit-edit () |