* mu4e-actions: fix 'sed' parameters in mu4e-action-retag-message
This commit is contained in:
@ -213,7 +213,7 @@ store your org-contacts."
|
|||||||
(setq tagstr (replace-regexp-in-string "[\\/&]" "\\\\\\&" tagstr))
|
(setq tagstr (replace-regexp-in-string "[\\/&]" "\\\\\\&" tagstr))
|
||||||
|
|
||||||
;; replaces keywords with sed, restricted to the header
|
;; replaces keywords with sed, restricted to the header
|
||||||
(call-process "sed" nil nil nil "-ine"
|
(call-process "sed" nil nil nil "-i"
|
||||||
(format "1,/^$/s/^%s:.*$/%s: %s/" header header tagstr) path)
|
(format "1,/^$/s/^%s:.*$/%s: %s/" header header tagstr) path)
|
||||||
|
|
||||||
(mu4e-message (concat "tagging: " (mapconcat 'identity taglist " ")))
|
(mu4e-message (concat "tagging: " (mapconcat 'identity taglist " ")))
|
||||||
|
|||||||
Reference in New Issue
Block a user