branch: elpa/org-mime
commit 0efd895439fd06d3355d1a7ebfd271e095b11c9e
Author: Kristoffer Balintona <[email protected]>
Commit: Kristoffer Balintona <[email protected]>
fix: Don't save instructions hint to mail buffer
In a recent commit (58d814f4afa9d6ee2c358e9c25a91ebd41305253), we
erroneously passed a regexp to `search-forward`.
Pass the literal string instead of a regexp for that string.
---
org-mime.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org-mime.el b/org-mime.el
index 785deecfc23..3ea9d82a6b1 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -807,7 +807,7 @@ Following headline properties can determine the mail
headers.
"Get edited code."
(save-excursion
(goto-char (point-min))
- (search-forward (rx (literal org-mime-instructions-hint)) (point-max) t)
+ (search-forward org-mime-instructions-hint (point-max) t)
(goto-char (line-beginning-position))
(buffer-substring-no-properties (point) (point-max))))