summaryrefslogtreecommitdiff
path: root/lisp/diff.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2001-10-11 01:20:16 +0000
committerMiles Bader <miles@gnu.org>2001-10-11 01:20:16 +0000
commit219637a43aaf3abb3b7997912736eda12227b7ca (patch)
tree2d303f34ade02736e4443c01f2890052e1c49e93 /lisp/diff.el
parent968b7671aa295f66af0cf0b3f3a57acf93c10e19 (diff)
downloademacs-219637a43aaf3abb3b7997912736eda12227b7ca.tar.gz
(diff): Display default values in prompts as `(default ...)', not `(...)'.
Diffstat (limited to 'lisp/diff.el')
-rw-r--r--lisp/diff.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/diff.el b/lisp/diff.el
index 1c897a20974..fb1793e627b 100644
--- a/lisp/diff.el
+++ b/lisp/diff.el
@@ -1,6 +1,6 @@
;;; diff.el --- run `diff' in compilation-mode
-;; Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
+;; Copyright (C) 1992, 1994, 1996, 2001 Free Software Foundation, Inc.
;; Maintainer: FSF
;; Keywords: unix, tools
@@ -199,14 +199,14 @@ With prefix arg, prompt for diff switches."
(setq newf (buffer-file-name)
newf (if (and newf (file-exists-p newf))
(read-file-name
- (concat "Diff new file: ("
+ (concat "Diff new file: (default "
(file-name-nondirectory newf) ") ")
nil newf t)
(read-file-name "Diff new file: " nil nil t)))
(setq oldf (file-newest-backup newf)
oldf (if (and oldf (file-exists-p oldf))
(read-file-name
- (concat "Diff original file: ("
+ (concat "Diff original file: (default "
(file-name-nondirectory oldf) ") ")
(file-name-directory oldf) oldf t)
(read-file-name "Diff original file: "