summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-04-30 18:20:29 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2016-05-01 19:27:13 +0200
commitb04fcc4a38f9ad0cff43ecccc28934e8769f3538 (patch)
treed4fc097567a504aa7b993c0affda8b6a78c45d4b
parentf92d0aa141a0d97f8eb0de7253cc56931a62816d (diff)
downloademacs-b04fcc4a38f9ad0cff43ecccc28934e8769f3538.tar.gz
Fcompare_buffer_substrings doc string clarification
* src/editfns.c (Fcompare_buffer_substrings): Extremely minor doc string clarification (bug#19255). (cherry picked from commit aa692acbb598a1cc8219ed7a87dde25fd7626ba5)
-rw-r--r--src/editfns.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 94b949583ad..f0ce4e7cf34 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2882,10 +2882,9 @@ DEFUN ("compare-buffer-substrings", Fcompare_buffer_substrings, Scompare_buffer_
6, 6, 0,
doc: /* Compare two substrings of two buffers; return result as number.
Return -N if first string is less after N-1 chars, +N if first string is
-greater after N-1 chars, or 0 if strings match. Each substring is
-represented as three arguments: BUFFER, START and END. That makes six
-args in all, three for each substring.
-
+greater after N-1 chars, or 0 if strings match.
+The first substring is in BUFFER1 from START1 to END1 and the second
+is in BUFFER2 from START2 to END2.
The value of `case-fold-search' in the current buffer
determines whether case is significant or ignored. */)
(Lisp_Object buffer1, Lisp_Object start1, Lisp_Object end1, Lisp_Object buffer2, Lisp_Object start2, Lisp_Object end2)