emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102507: * lisp/vc/diff.el (diff): Fi


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102507: * lisp/vc/diff.el (diff): Fix last change.
Date: Wed, 24 Nov 2010 23:43:56 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102507
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Wed 2010-11-24 23:43:56 -0500
message:
  * lisp/vc/diff.el (diff): Fix last change.
modified:
  lisp/ChangeLog
  lisp/vc/diff.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-11-24 16:39:51 +0000
+++ b/lisp/ChangeLog    2010-11-25 04:43:56 +0000
@@ -1,3 +1,7 @@
+2010-11-25  Stefan Monnier  <address@hidden>
+
+       * vc/diff.el (diff): Fix last change.
+
 2010-11-24  Stefan Monnier  <address@hidden>
 
        * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.

=== modified file 'lisp/vc/diff.el'
--- a/lisp/vc/diff.el   2010-11-22 19:22:03 +0000
+++ b/lisp/vc/diff.el   2010-11-25 04:43:56 +0000
@@ -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 "


reply via email to

[Prev in Thread] Current Thread [Next in Thread]