From b933010836821683b785324ae102a6aa02affdf8 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 17 Jun 2009 15:06:25 +0000 Subject: [PATCH] * files.el (save-some-buffers-action-alist): Fix last change (Bug#3578). --- lisp/ChangeLog | 5 +++++ lisp/files.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 04977ca9f14..c5dd0e621c7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-06-17 Tiago Saboga (tiny change) + + * files.el (save-some-buffers-action-alist): Fix last + change (Bug#3578). + 2009-06-17 Glenn Morris * files.el (dir-locals-set-directory-class): Fix doc typo. diff --git a/lisp/files.el b/lisp/files.el index 921724d8a79..91e046bc4af 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -4358,7 +4358,7 @@ This requires the external program `diff' to be in your `exec-path'." 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) -- 2.39.2