stgit.el: Bugfix stgit-unmark-down on the last patch
authorGustav Hållberg <gustav@virtutech.com>
Mon, 29 Dec 2008 14:32:58 +0000 (15:32 +0100)
committerKarl Hasselström <kha@treskal.com>
Mon, 29 Dec 2008 14:32:58 +0000 (15:32 +0100)
Signed-off-by: Gustav Hållberg <gustav@virtutech.com>
Signed-off-by: Karl Hasselström <kha@treskal.com>
contrib/stgit.el

index e5259ad..f3b573d 100644 (file)
@@ -600,8 +600,8 @@ the new file names instead of just one name."
   "Remove mark from the patch on the current line."
   (interactive)
   (stgit-remove-mark (stgit-patch-at-point t))
-  (stgit-next-patch)
-  (stgit-reload))
+  (stgit-reload)
+  (stgit-next-patch))
 
 (defun stgit-rename (name)
   "Rename the patch under point to NAME."