From 219637a43aaf3abb3b7997912736eda12227b7ca Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 11 Oct 2001 01:20:16 +0000 Subject: [PATCH] (diff): Display default values in prompts as `(default ...)', not `(...)'. --- lisp/diff.el | 6 +++--- 1 file 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: " -- 2.39.2