X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=d7c973c30cafe9c08ba937f95b1672abdfb5923c;hp=d762c6fcffb650b5be3043e85caa6cad4a537350;hb=b7898b0c2a1038a9a0214dcac18c873a21070ccc;hpb=dc4d0a53a295e2df09d0ae79ded74f8d5fd0e1a4 diff --git a/notmuch.el b/notmuch.el index d762c6fc..d7c973c3 100644 --- a/notmuch.el +++ b/notmuch.el @@ -174,7 +174,7 @@ Unlike builtin `next-line' this version accepts no arguments." (if (not (looking-at notmuch-show-message-begin-regexp)) (re-search-backward notmuch-show-message-begin-regexp)) (re-search-forward notmuch-show-id-regexp) - (buffer-substring (match-beginning 1) (match-end 1)))) + (buffer-substring-no-properties (match-beginning 1) (match-end 1)))) (defun notmuch-show-get-filename () (save-excursion @@ -182,7 +182,7 @@ Unlike builtin `next-line' this version accepts no arguments." (if (not (looking-at notmuch-show-message-begin-regexp)) (re-search-backward notmuch-show-message-begin-regexp)) (re-search-forward notmuch-show-filename-regexp) - (buffer-substring (match-beginning 1) (match-end 1)))) + (buffer-substring-no-properties (match-beginning 1) (match-end 1)))) (defun notmuch-show-set-tags (tags) (save-excursion