From d5e7b0d83d9f9a44812d75794ed6cbc8e626ee41 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 24 Nov 2010 23:43:56 -0500 Subject: [PATCH] * lisp/vc/diff.el (diff): Fix last change. --- lisp/ChangeLog | 4 ++++ lisp/vc/diff.el | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b79f070956f..bbe0b7c865c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-11-25 Stefan Monnier + + * vc/diff.el (diff): Fix last change. + 2010-11-24 Stefan Monnier * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix. diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el index 5c0a222cffd..13c23eea734 100644 --- a/lisp/vc/diff.el +++ b/lisp/vc/diff.el @@ -84,8 +84,8 @@ When called interactively with a prefix argument, prompt interactively for diff switches. Otherwise, the switches specified in `diff-switches' are passed to the diff command." (interactive - (let ((newf (buffer-file-name)) - (oldf (file-newest-backup newf))) + (let* ((newf (buffer-file-name)) + (oldf (file-newest-backup newf))) (setq newf (if (and newf (file-exists-p newf)) (read-file-name (concat "Diff new file (default " -- 2.39.5