summaryrefslogtreecommitdiff
path: root/s.el
diff options
context:
space:
mode:
authorSyohei YOSHIDA <syohex@gmail.com>2014-07-25 23:36:08 +0900
committerSyohei YOSHIDA <syohex@gmail.com>2014-07-25 23:36:08 +0900
commit78b4d3b37898346900a2cc7bc791b5ff22a8f009 (patch)
treedfa0000669538f20e8a064be0658be302b083458 /s.el
parentfec417a3fffcce8903c4eb3f415e3f5dcbd7348a (diff)
Set replacement flags same as s-replace
Diffstat (limited to 's.el')
-rw-r--r--s.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/s.el b/s.el
index b4e46ac..c729205 100644
--- a/s.el
+++ b/s.el
@@ -339,7 +339,7 @@ This is a simple wrapper around the built-in `string-match-p'."
"REPLACEMENTS is a list of cons-cells. Each `car` is replaced with `cdr` in S."
(replace-regexp-in-string (regexp-opt (mapcar 'car replacements))
(lambda (it) (s--aget replacements it))
- s))
+ s t t))
(defun s-downcase (s)
"Convert S to lower case.