changeset 103013:31ae0e578b40

* files.texi (Save Commands): Mention diff-buffer-with-file. (Comparing Files): Document diff-buffer-with-file. Suggested by Magnus Henoch (Bug#3036).
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 18 Apr 2009 01:41:53 +0000
parents 387b4a4bbc9b
children 3df429718fa4
files doc/emacs/ChangeLog doc/emacs/files.texi
diffstat 2 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/ChangeLog	Fri Apr 17 19:04:49 2009 +0000
+++ b/doc/emacs/ChangeLog	Sat Apr 18 01:41:53 2009 +0000
@@ -1,3 +1,9 @@
+2009-04-18  Chong Yidong  <cyd@stupidchicken.com>
+
+	* files.texi (Save Commands): Mention diff-buffer-with-file.
+	(Comparing Files): Document diff-buffer-with-file.  Suggested by Magnus
+	Henoch (Bug#3036).
+
 2009-03-15  Glenn Morris  <rgm@gnu.org>
 
 	* sending.texi (Mail Format): Replace "Sender" with "Message-Id", since
--- a/doc/emacs/files.texi	Fri Apr 17 19:04:49 2009 +0000
+++ b/doc/emacs/files.texi	Sat Apr 18 01:41:53 2009 +0000
@@ -440,8 +440,9 @@
 View mode, you get back to @code{save-some-buffers}, which asks the
 question again.
 @item d
-Diff the buffer against its corresponding file, so you can see
-what changes you would be saving.
+Diff the buffer against its corresponding file, so you can see what
+changes you would be saving.  This calls the command
+@code{diff-buffer-with-file} (@xpref{Comparing Files}).
 @item C-h
 Display a help message about these options.
 @end table
@@ -1276,6 +1277,11 @@
 @code{diff-backup} compares it with the source file that it is a
 backup of.  In all other respects, this behaves like @kbd{M-x diff}.
 
+@findex diff-buffer-with-file
+  The command @kbd{M-x diff-buffer-with-file} compares a specified
+buffer with its corresponding file.  This shows you what changes you
+would make to the file if you save the buffer.
+
 @findex compare-windows
   The command @kbd{M-x compare-windows} compares the text in the
 current window with that in the next window.  (For more information