diff lisp/vc/diff.el @ 111797:b2c5606310f5

diff-sentinel trivia. * lisp/ibuf-ext.el (diff-sentinel): Update declaration. * lisp/ibuffer.el: Regenerate autoloads. * lisp/vc/diff.el (diff-sentinel): Make new arguments optional, eg for the sake of ibuffer-diff-buffer-with-file-1.
author Glenn Morris <rgm@gnu.org>
date Thu, 02 Dec 2010 19:01:16 -0800
parents 157b25217077
children 1c6bd016193a
line wrap: on
line diff
--- a/lisp/vc/diff.el	Thu Dec 02 18:57:46 2010 -0800
+++ b/lisp/vc/diff.el	Thu Dec 02 19:01:16 2010 -0800
@@ -57,7 +57,7 @@
 		       diff-switches
 		     (mapconcat 'identity diff-switches " ")))))
 
-(defun diff-sentinel (code old-temp-file new-temp-file)
+(defun diff-sentinel (code &optional old-temp-file new-temp-file)
   "Code run when the diff process exits.
 CODE is the exit code of the process.  It should be 0 only if no diffs
 were found."
@@ -223,5 +223,4 @@
 
 (provide 'diff)
 
-;; arch-tag: 7de2c29b-7ea5-4b85-9b9d-72dd860de2bd
 ;;; diff.el ends here