Mercurial > emacs
comparison lisp/dired-aux.el @ 5144:9083db1526b4
(dired-diff): Require diff.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 23 Nov 1993 22:43:52 +0000 |
parents | 250f9c22ef74 |
children | edd5fb2614b1 |
comparison
equal
deleted
inserted
replaced
5143:f051791645a2 | 5144:9083db1526b4 |
---|---|
48 which is options for `diff'." | 48 which is options for `diff'." |
49 (interactive | 49 (interactive |
50 (let ((default (if (mark t) | 50 (let ((default (if (mark t) |
51 (save-excursion (goto-char (mark t)) | 51 (save-excursion (goto-char (mark t)) |
52 (dired-get-filename t t))))) | 52 (dired-get-filename t t))))) |
53 (require 'diff) | |
53 (list (read-file-name (format "Diff %s with: %s" | 54 (list (read-file-name (format "Diff %s with: %s" |
54 (dired-get-filename t) | 55 (dired-get-filename t) |
55 (if default | 56 (if default |
56 (concat "(default " default ") ") | 57 (concat "(default " default ") ") |
57 "")) | 58 "")) |