~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a619f5
)
stgit.el: Use forward-line instead of goto-line non-interactively
author
Gustav Hållberg
<gustav@gmail.com>
Mon, 19 Apr 2010 14:43:21 +0000
(16:43 +0200)
committer
Gustav Hållberg
<gustav@gmail.com>
Thu, 29 Apr 2010 22:28:33 +0000
(
00:28
+0200)
Signed-off-by: Gustav Hållberg <gustav@gmail.com>
contrib/stgit.el
patch
|
blob
|
blame
|
history
diff --git
a/contrib/stgit.el
b/contrib/stgit.el
index
3a40e2a
..
5fe05e6
100644
(file)
--- a/
contrib/stgit.el
+++ b/
contrib/stgit.el
@@
-583,7
+583,9
@@
been advised to update the stgit status when necessary.")
(unless (and curpatch
(stgit-goto-patch curpatch
(and curfile (stgit-file->file curfile))))
- (goto-line curline)))
+ (goto-char (point-min))
+ (forward-line (1- curline))
+ (move-to-column (stgit-goal-column))))
(stgit-refresh-git-status))
(defconst stgit-file-status-code-strings