+2012-09-20 Juri Linkov <juri@jurta.org>
+
+ * dired-aux.el (dired-diff): Remove (require 'diff) since
+ `diff-latest-backup-file' is now autoloaded.
+
2012-09-20 Chong Yidong <cyd@gnu.org>
* vc/diff.el (diff-latest-backup-file): Autoload.
(defconst dired-star-subst-regexp "\\(^\\|[ \t]\\)\\*\\([ \t]\\|$\\)")
(defconst dired-quark-subst-regexp "\\(^\\|[ \t]\\)\\?\\([ \t]\\|$\\)")
-(declare-function diff-latest-backup-file "diff" (fn)) ; actually belongs into files.el
-
;;;###autoload
(defun dired-diff (file &optional switches)
"Compare file at point with file FILE using `diff'.
(interactive
(let* ((current (dired-get-filename t))
;; Get the latest existing backup file.
- (oldf (progn (require 'diff) (diff-latest-backup-file current)))
+ (oldf (diff-latest-backup-file current))
;; Get the file at the mark.
(file-at-mark (if (and transient-mark-mode mark-active)
(save-excursion (goto-char (mark t))