* files.texi (Save Commands): Mention diff-buffer-with-file.

(Comparing Files): Document diff-buffer-with-file.  Suggested by Magnus
Henoch (Bug#3036).
This commit is contained in:
Chong Yidong 2009-04-18 01:41:53 +00:00
parent 314d66f446
commit bc323c0489
2 changed files with 14 additions and 2 deletions

View file

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

View file

@ -440,8 +440,9 @@ View the buffer that you are currently being asked about. When you exit
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 @@ most recent backup. If you specify the name of a backup file,
@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