aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAlexandre Julliard <julliard@winehq.org>2007-07-31 23:03:41 -0700
committerJunio C Hamano <gitster@pobox.com>2007-07-31 23:04:10 -0700
commit61988f1127587f8597b8b41da78a65717851e1fa (patch)
tree68cb92e5c2f08458e929dadade7659dba7ee9ccc /contrib
parentbe52a41c4ea02fe7fabfef4ea9af821cdfd69a15 (diff)
downloadgit-61988f1127587f8597b8b41da78a65717851e1fa.tar.gz
git-61988f1127587f8597b8b41da78a65717851e1fa.tar.xz
git.el: Avoid using ewoc-set-data for compatibility with Emacs 21.
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>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/emacs/git.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el
index 53dd70326..7470f1318 100644
--- 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.