unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7473: 24.0.50; `diff' command broken
@ 2010-11-24 18:51 Dani Moncayo
  2010-11-24 19:29 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Dani Moncayo @ 2010-11-24 18:51 UTC (permalink / raw)
  To: 7473

Hello,

0) Start emacs (emacs -Q)
1) M-x diff <RET>

After that, the minibuffer shows the error message: `Symbol's value as
variable is void: newf'.


In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
 of 2010-11-24 on dani-P5PL2
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: es_ES.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t


-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7473: 24.0.50; `diff' command broken
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2010-11-24 19:29 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 7473

Dani Moncayo wrote:

> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7473: 24.0.50; `diff' command broken
  2010-11-24 19:29 ` Glenn Morris
@ 2010-11-25  4:45   ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2010-11-25  4:45 UTC (permalink / raw)
  To: Glenn Morris

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






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-25  4:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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