Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Slightly more optimized s-repeat

  • Loading branch information...
commit 06d37095acbfa6fee32a59665f857bd961ce9e5a 1 parent bac507b
Magnar Sveen authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  README.md
  2. +1 −1  s.el
2  README.md
View
@@ -4,7 +4,7 @@ The long lost Emacs string manipulation library.
## Installation
-It's available on [marmalade](http://marmalade-repo.org/) and [Melpa](http://melpa.milkbox.net/):
+It's available on [marlamade](http://marmalade-repo.org/):
M-x package-install s
2  s.el
View
@@ -59,7 +59,7 @@
(while (> num 0)
(setq ss (cons s ss))
(setq num (1- num)))
- (mapconcat 'identity ss "")))
+ (apply 'concat ss)))
(defun s-chop-suffix (suffix s)
"Remove SUFFIX if it is at end of S."
Please sign in to comment.
Something went wrong with that request. Please try again.