aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPhil Sainty2019-12-14 20:49:41 +1300
committerPhil Sainty2019-12-16 10:55:24 +1300
commit9b7f0de639e024dd7e546d6cd3148deb1067bd1b (patch)
treeec3f92797b619de1b4a34209fca473efe05688dd /doc
parent9ee5af315098245d9f58eb5562dca6997cab4426 (diff)
downloademacs-9b7f0de639e024dd7e546d6cd3148deb1067bd1b.tar.gz
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')
-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}.
1394buffer with its corresponding file. This shows you what changes you 1394buffer with its corresponding file. This shows you what changes you
1395would make to the file if you save the buffer. 1395would make to the file if you save the buffer.
1396 1396
1397@findex diff-buffers
1398 The command @kbd{M-x diff-buffers} compares the contents of two
1399specified buffers.
1400
1397@findex compare-windows 1401@findex compare-windows
1398 The command @kbd{M-x compare-windows} compares the text in the 1402 The command @kbd{M-x compare-windows} compares the text in the
1399current window with that in the window that was the selected window 1403current window with that in the window that was the selected window