diff options
| author | Phil Sainty | 2019-12-14 20:49:41 +1300 |
|---|---|---|
| committer | Phil Sainty | 2019-12-16 10:55:24 +1300 |
| commit | 9b7f0de639e024dd7e546d6cd3148deb1067bd1b (patch) | |
| tree | ec3f92797b619de1b4a34209fca473efe05688dd /doc | |
| parent | 9ee5af315098245d9f58eb5562dca6997cab4426 (diff) | |
| download | emacs-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.texi | 4 |
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}. | |||
| 1394 | buffer with its corresponding file. This shows you what changes you | 1394 | buffer with its corresponding file. This shows you what changes you |
| 1395 | would make to the file if you save the buffer. | 1395 | would 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 | ||
| 1399 | specified 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 |
| 1399 | current window with that in the window that was the selected window | 1403 | current window with that in the window that was the selected window |