summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyohei YOSHIDA <syohex@gmail.com>2015-09-24 22:59:56 +0900
committerSyohei YOSHIDA <syohex@gmail.com>2015-09-24 22:59:56 +0900
commitb501002769db2ee88cc13ad3d9e8e09a448d9d62 (patch)
tree7fc473e7a70fd7187f27e8df5a08adeb5509854d
parent26a811037d9c76762f83c10614130485108769c7 (diff)
Remove duplicate documentation
-rw-r--r--README.md16
1 files changed, 0 insertions, 16 deletions
diff --git a/README.md b/README.md
index 96b3e88..9a3766c 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,6 @@ Or you can just dump `s.el` in your load path somewhere.
* [s-concat](#s-concat-rest-strings) `(&rest strings)`
* [s-prepend](#s-prepend-prefix-s) `(prefix s)`
* [s-append](#s-append-suffix-s) `(suffix s)`
-* [s-wrap](#s-wrap-s-prefix-optional-suffix) `(s prefix &optional suffix)`
### To and from lists
@@ -310,21 +309,6 @@ Concatenate `s` and `suffix`.
(s-append "abc" "def") ;; => "defabc"
```
-### s-wrap `(s prefix &optional suffix)`
-
-Wrap string `s` with `prefix` and optionally `suffix`.
-
-Return string `s` with `prefix` prepended. If `suffix` is present, it
-is appended, otherwise `prefix` is used as both prefix and
-suffix.
-
-```cl
-(s-wrap "[" "]" "foobar") ;; => "[foobar]"
-(s-wrap "(" "" "foobar") ;; => "(foobar"
-(s-wrap "" ")" "foobar") ;; => "foobar)"
-```
-
-
### s-lines `(s)`
Splits `s` into a list of strings on newline characters.