emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r107652: Document string-prefix-p


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107652: Document string-prefix-p
Date: Wed, 21 Mar 2012 23:21:28 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107652
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2012-03-21 23:21:28 -0700
message:
  Document string-prefix-p
  
  * doc/lispref/strings.texi (Text Comparison): Mention string-prefix-p.
  * etc/NEWS: Belated entry.
modified:
  doc/lispref/ChangeLog
  doc/lispref/strings.texi
  etc/NEWS
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2012-03-21 07:02:13 +0000
+++ b/doc/lispref/ChangeLog     2012-03-22 06:21:28 +0000
@@ -1,3 +1,7 @@
+2012-03-22  Glenn Morris  <address@hidden>
+
+       * strings.texi (Text Comparison): Mention string-prefix-p.
+
 2012-03-21  Chong Yidong  <address@hidden>
 
        * display.texi (The Echo Area): Add xref to Output Streams.

=== modified file 'doc/lispref/strings.texi'
--- a/doc/lispref/strings.texi  2012-03-10 09:55:54 +0000
+++ b/doc/lispref/strings.texi  2012-03-22 06:21:28 +0000
@@ -508,6 +508,13 @@
 @code{string-lessp} is another name for @code{string<}.
 @end defun
 
address@hidden string-prefix-p string1 string2 &optional ignore-case
+This function returns address@hidden if @var{string1} is a prefix of
address@hidden; i.e., if @var{string2} starts with @var{string1}.  If
+the optional argument @var{ignore-case} is address@hidden, the
+comparison ignores case differences.
address@hidden defun
+
 @defun compare-strings string1 start1 end1 string2 start2 end2 &optional 
ignore-case
 This function compares the specified part of @var{string1} with the
 specified part of @var{string2}.  The specified part of @var{string1}

=== modified file 'etc/NEWS'
--- a/etc/NEWS  2012-03-21 07:02:13 +0000
+++ b/etc/NEWS  2012-03-22 06:21:28 +0000
@@ -1548,6 +1548,10 @@
  (set-keymap-parent newmap (make-composed-keymap othermap parent))
 
 +++
+** New function `string-prefix-p'.
+(This was actually added in Emacs 23.2 but was not advertised at the time.)
+
++++
 ** New reader macro ## that stands for the empty symbol.
 This means that the empty symbol can now be read back.  Also, #: by itself
 (when not immediately followed by a possible symbol character) stands for


reply via email to

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