emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 74b4f13: Document nil args of compare-buffer-subs


From: Philipp Stephani
Subject: [Emacs-diffs] emacs-25 74b4f13: Document nil args of compare-buffer-substrings
Date: Mon, 3 Oct 2016 10:11:12 +0000 (UTC)

branch: emacs-25
commit 74b4f13842f3119f98797ea76d9be42457b330e1
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Document nil args of compare-buffer-substrings
    
    * editfns.c (Fcompare_buffer_substrings): Document behavior when
    the arguments are nil.
---
 src/editfns.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/editfns.c b/src/editfns.c
index 51b87de..4e90dad 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2892,6 +2892,10 @@ 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.
 The first substring is in BUFFER1 from START1 to END1 and the second
 is in BUFFER2 from START2 to END2.
+All arguments may be nil.  If BUFFER1 or BUFFER2 is nil, the current
+buffer is used.  If START1 or START2 is nil, the value of `point-min'
+in the respective buffers is used.  If END1 or END2 is nil, the value
+of `point-max' in the respective buffers is used.
 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]