stgit.el: Bugfix of stgit-move-patches to top of stack
authorGustav Hållberg <gustav@virtutech.com>
Wed, 12 Aug 2009 12:00:00 +0000 (14:00 +0200)
committerGustav Hållberg <gustav@virtutech.com>
Wed, 12 Aug 2009 12:16:16 +0000 (14:16 +0200)
Signed-off-by: Gustav Hållberg <gustav@virtutech.com>
contrib/stgit.el

index 6cb0f1e..0b8cb25 100644 (file)
@@ -1489,7 +1489,7 @@ the work tree and index."
 This is either the patch at point, or one of :top and :bottom, if
 the point is after or before the applied patches."
 
-  (let ((patchsym (stgit-patch-name-at-point)))
+  (let ((patchsym (stgit-patch-name-at-point nil t)))
     (cond (patchsym patchsym)
          ((save-excursion (re-search-backward "^>" nil t)) :top)
          (t :bottom))))