changeset 103461:145036a4bf0d

* files.el (save-some-buffers-action-alist): Fix last change (Bug#3578).
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 17 Jun 2009 15:06:25 +0000
parents 2e5fc429d232
children 3c0923fbcb01
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jun 17 07:32:58 2009 +0000
+++ b/lisp/ChangeLog	Wed Jun 17 15:06:25 2009 +0000
@@ -1,3 +1,8 @@
+2009-06-17  Tiago Saboga  <tiagosaboga@gmail.com>  (tiny change)
+
+	* files.el (save-some-buffers-action-alist): Fix last
+	change (Bug#3578).
+
 2009-06-17  Glenn Morris  <rgm@gnu.org>
 
 	* files.el (dir-locals-set-directory-class): Fix doc typo.
--- a/lisp/files.el	Wed Jun 17 07:32:58 2009 +0000
+++ b/lisp/files.el	Wed Jun 17 15:06:25 2009 +0000
@@ -4358,7 +4358,7 @@
         nil)
      "view this buffer")
     (?d ,(lambda (buf)
-           (if (null buffer-file-name)
+           (if (null (buffer-file-name buf))
                (message "Not applicable: no file")
              (save-window-excursion (diff-buffer-with-file buf))
              (if (not enable-recursive-minibuffers)