diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mutt-remember-mail | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/mutt-remember-mail b/bin/mutt-remember-mail index 8fafc3d..ba5b322 100755 --- a/bin/mutt-remember-mail +++ b/bin/mutt-remember-mail @@ -18,6 +18,5 @@ my $mid = $1; my $subject = $msg->head->get('subject') || ""; my $from = $msg->head->get('from') || ""; chomp ($subject, $from); -my $note_body = uri_escape(" Subject: $subject\n From: $from"); -exec "emacsclient", "-c", "org-protocol:/capture:/m/mutt:$mid/mail/$note_body"; +exec "emacsclient", "-c", "org-protocol://capture?template=m&url=mutt://$mid&title=$subject from $from"; |