diff options
| author | Glenn Morris | 2010-12-02 19:01:16 -0800 |
|---|---|---|
| committer | Glenn Morris | 2010-12-02 19:01:16 -0800 |
| commit | c879436a90358f40d439794d453bd532a86d392a (patch) | |
| tree | cc1618334500bf986069a83c97b9286a34af399f | |
| parent | acab4d4b71807cb7b3d19fcf0b64a38c28cd233d (diff) | |
| download | emacs-c879436a90358f40d439794d453bd532a86d392a.tar.gz emacs-c879436a90358f40d439794d453bd532a86d392a.zip | |
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.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/ibuf-ext.el | 4 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 2 | ||||
| -rw-r--r-- | lisp/vc/diff.el | 3 |
4 files changed, 9 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 086c6a34122..812fa2deba5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-12-03 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * vc/diff.el (diff-sentinel): Make new arguments optional. | ||
| 4 | * ibuf-ext.el (diff-sentinel): Update declaration. | ||
| 5 | |||
| 1 | 2010-12-03 Daiki Ueno <ueno@unixuser.org> | 6 | 2010-12-03 Daiki Ueno <ueno@unixuser.org> |
| 2 | 7 | ||
| 3 | * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with | 8 | * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with |
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 196838f248d..33cb9a80bab 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el | |||
| @@ -1308,7 +1308,8 @@ a prefix argument reverses the meaning of that variable." | |||
| 1308 | (error "No buffer with name %s" name) | 1308 | (error "No buffer with name %s" name) |
| 1309 | (goto-char buf-point))))) | 1309 | (goto-char buf-point))))) |
| 1310 | 1310 | ||
| 1311 | (declare-function diff-sentinel "diff" (code)) | 1311 | (declare-function diff-sentinel "diff" |
| 1312 | (code &optional old-temp-file new-temp-file)) | ||
| 1312 | 1313 | ||
| 1313 | (defun ibuffer-diff-buffer-with-file-1 (buffer) | 1314 | (defun ibuffer-diff-buffer-with-file-1 (buffer) |
| 1314 | (let ((bufferfile (buffer-local-value 'buffer-file-name buffer)) | 1315 | (let ((bufferfile (buffer-local-value 'buffer-file-name buffer)) |
| @@ -1594,5 +1595,4 @@ defaults to one." | |||
| 1594 | ;; generated-autoload-file: "ibuffer.el" | 1595 | ;; generated-autoload-file: "ibuffer.el" |
| 1595 | ;; End: | 1596 | ;; End: |
| 1596 | 1597 | ||
| 1597 | ;; arch-tag: 9af21953-deda-4c30-b76d-f81d9128e76d | ||
| 1598 | ;;; ibuf-ext.el ends here | 1598 | ;;; ibuf-ext.el ends here |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 052d43b41b6..2dab58fb365 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -2639,7 +2639,7 @@ will be inserted before the group at point." | |||
| 2639 | ;;;;;; ibuffer-backward-filter-group ibuffer-forward-filter-group | 2639 | ;;;;;; ibuffer-backward-filter-group ibuffer-forward-filter-group |
| 2640 | ;;;;;; ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group | 2640 | ;;;;;; ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group |
| 2641 | ;;;;;; ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode | 2641 | ;;;;;; ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode |
| 2642 | ;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "fa9822b5ef905f06d8a03dc9ce3a2894") | 2642 | ;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "3840d79a044995c846fe8bbaa9565a2b") |
| 2643 | ;;; Generated autoloads from ibuf-ext.el | 2643 | ;;; Generated autoloads from ibuf-ext.el |
| 2644 | 2644 | ||
| 2645 | (autoload 'ibuffer-auto-mode "ibuf-ext" "\ | 2645 | (autoload 'ibuffer-auto-mode "ibuf-ext" "\ |
diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el index 5809eee9aef..752b12446fe 100644 --- a/lisp/vc/diff.el +++ b/lisp/vc/diff.el | |||
| @@ -57,7 +57,7 @@ | |||
| 57 | diff-switches | 57 | diff-switches |
| 58 | (mapconcat 'identity diff-switches " "))))) | 58 | (mapconcat 'identity diff-switches " "))))) |
| 59 | 59 | ||
| 60 | (defun diff-sentinel (code old-temp-file new-temp-file) | 60 | (defun diff-sentinel (code &optional old-temp-file new-temp-file) |
| 61 | "Code run when the diff process exits. | 61 | "Code run when the diff process exits. |
| 62 | CODE is the exit code of the process. It should be 0 only if no diffs | 62 | CODE is the exit code of the process. It should be 0 only if no diffs |
| 63 | were found." | 63 | were found." |
| @@ -223,5 +223,4 @@ This requires the external program `diff' to be in your `exec-path'." | |||
| 223 | 223 | ||
| 224 | (provide 'diff) | 224 | (provide 'diff) |
| 225 | 225 | ||
| 226 | ;; arch-tag: 7de2c29b-7ea5-4b85-9b9d-72dd860de2bd | ||
| 227 | ;;; diff.el ends here | 226 | ;;; diff.el ends here |