Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git.el: Avoid using ewoc-set-data for compatibility with Emacs 21.
author
Alexandre Julliard
<julliard@winehq.org>
Wed, 1 Aug 2007 06:03:41 +0000
(23:03 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 1 Aug 2007 06:04:10 +0000
(23:04 -0700)
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Acked-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/emacs/git.el
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
be52a41
)
diff --git
a/contrib/emacs/git.el
b/contrib/emacs/git.el
index 53dd70326079761cbb70dab3a68bdcb4b78f7976..7470f13185376c265b1b5b086b87883a61012861 100644
(file)
--- a/
contrib/emacs/git.el
+++ b/
contrib/emacs/git.el
@@
-530,7
+530,7
@@
and returns the process output as a string."
(setf (git-fileinfo->needs-refresh info) t)
(when node ;preserve the marked flag
(setf (git-fileinfo->marked info) (git-fileinfo->marked (ewoc-data node))))
- (if node (
ewoc-set-data node
info) (ewoc-enter-last status info))))
+ (if node (
setf (ewoc-data node)
info) (ewoc-enter-last status info))))
(defun git-run-diff-index (status files)
"Run git-diff-index on FILES and parse the results into STATUS.