Browse files

Slightly more optimized s-repeat

  • Loading branch information...
1 parent bac507b commit 06d37095acbfa6fee32a59665f857bd961ce9e5a @magnars committed Oct 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 s.el
View
2 README.md
@@ -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
View
2 s.el
@@ -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."

0 comments on commit 06d3709

Please sign in to comment.