From: Alexandre Julliard Date: Wed, 1 Aug 2007 06:03:41 +0000 (-0700) Subject: git.el: Avoid using ewoc-set-data for compatibility with Emacs 21. X-Git-Tag: v1.5.3-rc4~25 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61988f1127587f8597b8b41da78a65717851e1fa;p=git.git git.el: Avoid using ewoc-set-data for compatibility with Emacs 21. Signed-off-by: Alexandre Julliard Acked-by: Karl Hasselström Signed-off-by: Junio C Hamano --- 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.