* lisp/org-capture.el (org-capture-fill-template): * lisp/org-feed.el (org-feed-format-entry): Fix wrong argument in `replace-regexp-in-string'.
@@ -1672,8 +1672,7 @@ The template may still contain \"%?\" for cursor positioning."
(?x v-x))))
(insert
(if (org-capture-inside-embedded-elisp-p)
- (replace-regexp-in-string
- "\"" "\\\\\"" replacement nil t)
+ (replace-regexp-in-string "\"" "\\\\\"" replacement)
replacement))))))))
;; Expand %() embedded Elisp. Limit to Sexp originally marked.
@@ -565,7 +565,7 @@ If that property is already present, nothing changes."
;; Escape string delimiters within embedded lisp.
- (replace-regexp-in-string "\"" "\\\\\"" replacement nil t)
replacement)))))))
;; %() embedded elisp