unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Glenn Morris <rgm@gnu.org>
Subject: bug#7473: 24.0.50; `diff' command broken
Date: Wed, 24 Nov 2010 23:45:42 -0500	[thread overview]
Message-ID: <jwvpqtu2erh.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <ebbp5emsf0.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 24 Nov 2010 14:29:39 -0500")

>> 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@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.

=== 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






      reply	other threads:[~2010-11-25  4:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-24 18:51 bug#7473: 24.0.50; `diff' command broken Dani Moncayo
2010-11-24 19:29 ` Glenn Morris
2010-11-25  4:45   ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvpqtu2erh.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).