summaryrefslogtreecommitdiff
path: root/s.el
diff options
context:
space:
mode:
authorMagnar Sveen <magnars@gmail.com>2016-05-09 08:57:45 +0200
committerMagnar Sveen <magnars@gmail.com>2016-05-09 08:57:45 +0200
commit2184337a132944f669144d0078d1fa1220012840 (patch)
treeb643594de7f4f2ec9a0669da60f10b53e213cba7 /s.el
parent1be4a086e369ea18ed93b93a3b9342f7342ee164 (diff)
parent78b4d3b37898346900a2cc7bc791b5ff22a8f009 (diff)
Merge pull request #64 from syohex/replace-all-62
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 d9e1dd3..7cb00f0 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.