# HG changeset patch # User Glenn Morris # Date 1291345276 28800 # Node ID b2c5606310f568785011eab906a7073c7f068bc1 # Parent 0bee817318b05f5729981f0cebdf3c70c354fa8e 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. diff -r 0bee817318b0 -r b2c5606310f5 lisp/ChangeLog --- a/lisp/ChangeLog Thu Dec 02 18:57:46 2010 -0800 +++ b/lisp/ChangeLog Thu Dec 02 19:01:16 2010 -0800 @@ -1,3 +1,8 @@ +2010-12-03 Glenn Morris + + * vc/diff.el (diff-sentinel): Make new arguments optional. + * ibuf-ext.el (diff-sentinel): Update declaration. + 2010-12-03 Daiki Ueno * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with diff -r 0bee817318b0 -r b2c5606310f5 lisp/ibuf-ext.el --- a/lisp/ibuf-ext.el Thu Dec 02 18:57:46 2010 -0800 +++ b/lisp/ibuf-ext.el Thu Dec 02 19:01:16 2010 -0800 @@ -1308,7 +1308,8 @@ (error "No buffer with name %s" name) (goto-char buf-point))))) -(declare-function diff-sentinel "diff" (code)) +(declare-function diff-sentinel "diff" + (code &optional old-temp-file new-temp-file)) (defun ibuffer-diff-buffer-with-file-1 (buffer) (let ((bufferfile (buffer-local-value 'buffer-file-name buffer)) @@ -1594,5 +1595,4 @@ ;; generated-autoload-file: "ibuffer.el" ;; End: -;; arch-tag: 9af21953-deda-4c30-b76d-f81d9128e76d ;;; ibuf-ext.el ends here diff -r 0bee817318b0 -r b2c5606310f5 lisp/ibuffer.el --- a/lisp/ibuffer.el Thu Dec 02 18:57:46 2010 -0800 +++ b/lisp/ibuffer.el Thu Dec 02 19:01:16 2010 -0800 @@ -2639,7 +2639,7 @@ ;;;;;; ibuffer-backward-filter-group ibuffer-forward-filter-group ;;;;;; ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group ;;;;;; ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode -;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "fa9822b5ef905f06d8a03dc9ce3a2894") +;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "3840d79a044995c846fe8bbaa9565a2b") ;;; Generated autoloads from ibuf-ext.el (autoload 'ibuffer-auto-mode "ibuf-ext" "\ diff -r 0bee817318b0 -r b2c5606310f5 lisp/vc/diff.el --- 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