emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115964: Revert "Document `subr-x' functions."


From: Rüdiger Sonderfeld
Subject: [Emacs-diffs] trunk r115964: Revert "Document `subr-x' functions."
Date: Fri, 10 Jan 2014 17:56:12 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115964
revision-id: address@hidden
parent: address@hidden
committer: Rüdiger Sonderfeld <address@hidden>
branch nick: trunk
timestamp: Fri 2014-01-10 18:54:32 +0100
message:
  Revert "Document `subr-x' functions."
  
  This reverts commit 115961.
modified:
  doc/lispref/ChangeLog          changelog-20091113204419-o5vbwnq5f7feedwu-6155
  doc/lispref/hash.texi          hash.texi-20091113204419-o5vbwnq5f7feedwu-6184
  doc/lispref/strings.texi       
strings.texi-20091113204419-o5vbwnq5f7feedwu-6212
  etc/NEWS                       news-20100311060928-aoit31wvzf25yr1z-1
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2014-01-10 12:41:19 +0000
+++ b/doc/lispref/ChangeLog     2014-01-10 17:54:32 +0000
@@ -1,11 +1,3 @@
-2014-01-10  Rüdiger Sonderfeld  <address@hidden>
-
-       * hash.texi (Hash Tables): Add cindex entry for `subr-x'
-       functions.
-
-       * strings.texi (Creating Strings, Text Comparison): Document
-       functions from `subr-x'.
-
 2014-01-09  Rüdiger Sonderfeld  <address@hidden>
 
        * text.texi (Parsing HTML/XML): Document `shr-insert-document'.

=== modified file 'doc/lispref/hash.texi'
--- a/doc/lispref/hash.texi     2014-01-10 12:41:19 +0000
+++ b/doc/lispref/hash.texi     2014-01-10 17:54:32 +0000
@@ -354,7 +354,6 @@
 This returns the current nominal size of @var{table}.
 @end defun
 
address@hidden Hash table functions in subr-x.
 The following two functions are provided by the @file{subr-x} library.
 To use them, you need to load this library first.
 

=== modified file 'doc/lispref/strings.texi'
--- a/doc/lispref/strings.texi  2014-01-10 12:41:19 +0000
+++ b/doc/lispref/strings.texi  2014-01-10 17:54:32 +0000
@@ -365,83 +365,6 @@
 usual value is @address@hidden"[ \f\t\n\r\v]+"}}.
 @end defvar
 
address@hidden String creation functions in subr-x
-  The following functions are provided by the @file{subr-x} library.
-To use them, you need to load this library first.
-
address@hidden string-join strings &optional separator
-This joins all strings in @var{strings}.  If the optional argument
address@hidden is address@hidden then its value is added between each
-string.
-
address@hidden
-(string-join '("foo" "bar"))
-    @result{} "foobar"
-(string-join '("foo" "bar") ", ")
-    @result{} "foo, bar"
address@hidden example
address@hidden defun
-
address@hidden string-reverse string
-This function returns the reversed value of @var{string}.
-
address@hidden
-(string-reverse "ung olleh")
-    @result{} "hello gnu"
address@hidden example
address@hidden defun
-
address@hidden string-trim-left string
-This function returns a string with all the leading whitespace removed
-from @var{string}.  Trailing whitespace are left.
-
address@hidden
-(string-trim-left "\r\n\t abc ")
-    @result{} "abc "
address@hidden example
address@hidden defun
-
address@hidden string-trim-right string
-This function returns a string with all the trailing whitespace
-removed from @var{string}.  Leading whitespace are left.
-
address@hidden
-(string-trim-left " abc ")
-    @result{} " abc"
address@hidden example
address@hidden defun
-
address@hidden string-trim string
-This function returns a string with all leading and trailing
-whitespace from @var{string} removed.  This has the same effect as
-calling @code{string-trim-left} and @code{string-trim-right} on
address@hidden
address@hidden defun
-
address@hidden string-remove-prefix prefix string
-This removes the string @var{prefix} from the beginning of
address@hidden if present.
-
address@hidden
-(string-remove-prefix "foo" "foobar")
-    @result{} "bar"
-(string-remove-prefix "not" "foobar")
-    @result{} "foobar"
address@hidden example
address@hidden defun
-
address@hidden string-remove-suffix suffix string
-This removes the string @var{suffix} from the end of @var{string} if
-present.
-
address@hidden
-(string-remove-suffix "bar" "foobar")
-    @result{} "foo"
-(string-remove-suffix "not" "foobar")
-    @result{} "foobar"
address@hidden example
address@hidden defun
-
 @node Modifying Strings
 @section Modifying Strings
 
@@ -648,20 +571,6 @@
 against a string, can be used for a kind of string comparison; see
 @ref{Regexp Search}.
 
address@hidden String comparisson functions in subr-x
-  The following functions are provided by the @file{subr-x} library.
-To use them, you need to load this library first.
-
address@hidden string-empty-p string
-This function returns address@hidden if @var{string} is an empty
-string.
address@hidden defun
-
address@hidden string-blank-p string
-This function returns address@hidden if @var{string} is either empty
-or only whitespace.
address@hidden defun
-
 @node String Conversion
 @section Conversion of Characters and Strings
 @cindex conversion of strings

=== modified file 'etc/NEWS'
--- a/etc/NEWS  2014-01-10 12:41:19 +0000
+++ b/etc/NEWS  2014-01-10 17:54:32 +0000
@@ -1099,10 +1099,12 @@
 +++
 ** New macro with-eval-after-load.  Like eval-after-load, but better behaved.
 
-+++
 ** New library subr-x.el for misc helper functions
++++
 *** `hash-table-keys'
++++
 *** `hash-table-values'
+---
 *** `string-blank-p`
 *** `string-empty-p`
 *** `string-join`


reply via email to

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