Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git.el: Pass an explicit argument to enable smerge-mode.
author
Alexandre Julliard
<julliard@winehq.org>
Tue, 24 Jul 2007 10:02:28 +0000
(12:02 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Jul 2007 07:06:38 +0000
(
00:06
-0700)
Without argument the mode is toggled, which would do the wrong thing
if the file was already open.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/emacs/git.el
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
1c911dc
)
diff --git
a/contrib/emacs/git.el
b/contrib/emacs/git.el
index b92bbe8728aa9c0e0221ad3bcb549e3dd0b0d6c8..53dd70326079761cbb70dab3a68bdcb4b78f7976 100644
(file)
--- a/
contrib/emacs/git.el
+++ b/
contrib/emacs/git.el
@@
-1058,7
+1058,7
@@
Return the list of files that haven't been handled."
(let ((info (ewoc-data (ewoc-locate git-status))))
(find-file (git-fileinfo->name info))
(when (eq 'unmerged (git-fileinfo->state info))
- (smerge-mode))))
+ (smerge-mode
1
))))
(defun git-find-file-other-window ()
"Visit the current file in its own buffer in another window."