From: Stefan Monnier Date: Thu, 25 Nov 2010 04:43:56 +0000 (-0500) Subject: * lisp/vc/diff.el (diff): Fix last change. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~124 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d5e7b0d83d9f9a44812d75794ed6cbc8e626ee41;p=emacs.git * lisp/vc/diff.el (diff): Fix last change. --- 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 "