]> git.eshelyaron.com Git - emacs.git/commitdiff
(diff): Display default values in prompts as `(default ...)', not `(...)'.
authorMiles Bader <miles@gnu.org>
Thu, 11 Oct 2001 01:20:16 +0000 (01:20 +0000)
committerMiles Bader <miles@gnu.org>
Thu, 11 Oct 2001 01:20:16 +0000 (01:20 +0000)
lisp/diff.el

index 1c897a209742d019430d5d13b7560e6c81518e5c..fb1793e627b043c4326c3751d9c64fe322d0aaae 100644 (file)
@@ -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: "