mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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.
This commit is contained in:
parent
acab4d4b71
commit
c879436a90
4 changed files with 9 additions and 5 deletions
|
|
@ -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 @@ This requires the external program `diff' to be in your `exec-path'."
|
|||
|
||||
(provide 'diff)
|
||||
|
||||
;; arch-tag: 7de2c29b-7ea5-4b85-9b9d-72dd860de2bd
|
||||
;;; diff.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue