aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-08-09 11:35:42 +0000
committerRichard M. Stallman2005-08-09 11:35:42 +0000
commitce08e7d4c24867cd8257541a6791c41e35837d58 (patch)
tree83f74d6a82748cf4b1247552696c35c73dae6a0b
parent92c4954ea60a1b170a26854349bcc36633c5f35d (diff)
downloademacs-ce08e7d4c24867cd8257541a6791c41e35837d58.tar.gz
emacs-ce08e7d4c24867cd8257541a6791c41e35837d58.zip
(Comparing Files): Clarify compare-windows.
-rw-r--r--man/files.texi22
1 files changed, 13 insertions, 9 deletions
diff --git a/man/files.texi b/man/files.texi
index bc217de7b18..5e6805d6496 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -2918,15 +2918,19 @@ recent backup. If you specify the name of a backup file,
2918of. 2918of.
2919 2919
2920@findex compare-windows 2920@findex compare-windows
2921 The command @kbd{M-x compare-windows} compares the text in the current 2921 The command @kbd{M-x compare-windows} compares the text in the
2922window with that in the next window. Comparison starts at point in each 2922current window with that in the next window. (For more information
2923window, and each starting position is pushed on the mark ring in its 2923about windows in Emacs, @ref{Windows}.) Comparison starts at point in
2924respective buffer. Then point moves forward in each window, a character 2924each window, after pushing each initial point value on the mark ring
2925at a time, until a mismatch between the two windows is reached. Then 2925in its respective buffer. Then it moves point forward in each window,
2926the command is finished. Another invocation of this command with 2926one character at a time, until it reaches characters that don't match.
2927points on mismatching positions tries to skip non-matching text and 2927Then the command exits.
2928move points forward, until a match between the two windows is reached. 2928
2929For more information about windows in Emacs, @ref{Windows}. 2929 If point in the two windows is followed by non-matching text when
2930the command starts, it tries heuristically to advance up to matching
2931text in the two windows, and then exits. So if you use @kbd{M-x
2932compare-windows} repeatedly, each time it either skips one matching
2933range or finds the start of another.
2930 2934
2931@vindex compare-ignore-case 2935@vindex compare-ignore-case
2932@vindex compare-ignore-whitespace 2936@vindex compare-ignore-whitespace