summaryrefslogtreecommitdiff
path: root/doc/emacs/files.texi
diff options
context:
space:
mode:
authorPhil Sainty <psainty@orcon.net.nz>2019-12-14 20:49:41 +1300
committerPhil Sainty <psainty@orcon.net.nz>2019-12-16 10:55:24 +1300
commit9b7f0de639e024dd7e546d6cd3148deb1067bd1b (patch)
treeec3f92797b619de1b4a34209fca473efe05688dd /doc/emacs/files.texi
parent9ee5af315098245d9f58eb5562dca6997cab4426 (diff)
downloademacs-9b7f0de639e024dd7e546d6cd3148deb1067bd1b.tar.gz
emacs-9b7f0de639e024dd7e546d6cd3148deb1067bd1b.tar.bz2
emacs-9b7f0de639e024dd7e546d6cd3148deb1067bd1b.zip
New command 'diff-buffers'
* lisp/vc/diff.el (diff-buffers): New command. (diff, diff-no-select, diff-file-local-copy): Improve docstrings. * doc/emacs/files.texi: * etc/NEWS: Document new command, and the previously-undocumented ability for 'diff' to compare buffers.
Diffstat (limited to 'doc/emacs/files.texi')
-rw-r--r--doc/emacs/files.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index c3ede1833b5..7221edcc1b2 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1394,6 +1394,10 @@ backup of. In all other respects, this behaves like @kbd{M-x diff}.
buffer with its corresponding file. This shows you what changes you
would make to the file if you save the buffer.
+@findex diff-buffers
+ The command @kbd{M-x diff-buffers} compares the contents of two
+specified buffers.
+
@findex compare-windows
The command @kbd{M-x compare-windows} compares the text in the
current window with that in the window that was the selected window