aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav HÃ¥llberg <gustav@virtutech.com>2010-01-14 14:46:54 +0100
committerKarl Wiberg <kha@treskal.com>2010-01-22 14:58:34 +0100
commit9aa61946b4c03610a4ac90b6df391aa2df9b0d36 (patch)
tree8c2223d9d7c1e16103d16be89c2d14a7ce794d04
parent072e96c5f887e56e2dbd39df6ff586b62c1a6a1a (diff)
downloadstgit-9aa61946b4c03610a4ac90b6df391aa2df9b0d36.tar.gz
stgit.el: Prevent stgit-applied-patches from moving point
This stops stgit-diff-range from moving point. Signed-off-by: Gustav HÃ¥llberg <gustav@virtutech.com> Signed-off-by: Karl Wiberg <kha@treskal.com>
-rw-r--r--contrib/stgit.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/stgit.el b/contrib/stgit.el
index 56de515..43ee8b4 100644
--- a/contrib/stgit.el
+++ b/contrib/stgit.el
@@ -1660,8 +1660,10 @@ If ONLY-PATCHES is not nil, exclude index and work tree."
'(applied top)
'(applied top index work)))
result)
- (ewoc-map (lambda (patch) (when (memq (stgit-patch->status patch) states)
- (setq result (cons patch result))))
+ (ewoc-map (lambda (patch)
+ (when (memq (stgit-patch->status patch) states)
+ (setq result (cons patch result)))
+ nil)
stgit-ewoc)
result))