summaryrefslogtreecommitdiff
path: root/lisp/vc/diff.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc/diff.el')
-rw-r--r--lisp/vc/diff.el4
1 files changed, 2 insertions, 2 deletions
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 "