GNU bug report logs -
#7473
24.0.50; `diff' command broken
Previous Next
Reported by: Dani Moncayo <dmoncayo <at> gmail.com>
Date: Wed, 24 Nov 2010 18:47:02 UTC
Severity: normal
Found in version 24.0.50
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 7473-done <at> debbugs.gnu.org (full text, mbox):
>> 1) M-x diff <RET>
>>
>> After that, the minibuffer shows the error message: `Symbol's value as
>> variable is void: newf'.
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7277#13
Thanks, indeed, should be fixed now,
Stefan
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog 2010-11-24 16:39:51 +0000
+++ lisp/ChangeLog 2010-11-25 04:43:30 +0000
@@ -1,3 +1,7 @@
+2010-11-25 Stefan Monnier <monnier <at> iro.umontreal.ca>
+
+ * vc/diff.el (diff): Fix last change.
+
2010-11-24 Stefan Monnier <monnier <at> iro.umontreal.ca>
* emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
=== modified file 'lisp/vc/diff.el'
--- lisp/vc/diff.el 2010-11-22 19:22:03 +0000
+++ lisp/vc/diff.el 2010-11-25 04:28:25 +0000
@@ -84,7 +84,7 @@
interactively for diff switches. Otherwise, the switches
specified in `diff-switches' are passed to the diff command."
(interactive
- (let ((newf (buffer-file-name))
+ (let* ((newf (buffer-file-name))
(oldf (file-newest-backup newf)))
(setq newf (if (and newf (file-exists-p newf))
(read-file-name
This bug report was last modified 14 years and 185 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.