Mercurial > emacs
changeset 111707:aa580ff3975a
* lisp/vc/diff.el (diff): Fix last change.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 24 Nov 2010 23:43:56 -0500 |
parents | aa78024b0867 |
children | 13061011e6ac |
files | lisp/ChangeLog lisp/vc/diff.el |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Nov 25 01:13:37 2010 +0000 +++ b/lisp/ChangeLog Wed Nov 24 23:43:56 2010 -0500 @@ -1,3 +1,7 @@ +2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * vc/diff.el (diff): Fix last change. + 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca> * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
--- a/lisp/vc/diff.el Thu Nov 25 01:13:37 2010 +0000 +++ b/lisp/vc/diff.el Wed Nov 24 23:43:56 2010 -0500 @@ -84,8 +84,8 @@ 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 "