diff options
author | Magnar Sveen <magnars@gmail.com> | 2016-05-09 08:57:45 +0200 |
---|---|---|
committer | Magnar Sveen <magnars@gmail.com> | 2016-05-09 08:57:45 +0200 |
commit | 2184337a132944f669144d0078d1fa1220012840 (patch) | |
tree | b643594de7f4f2ec9a0669da60f10b53e213cba7 /s.el | |
parent | 1be4a086e369ea18ed93b93a3b9342f7342ee164 (diff) | |
parent | 78b4d3b37898346900a2cc7bc791b5ff22a8f009 (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.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |