From: Tassilo Horn Date: Mon, 23 Nov 2009 16:57:31 +0000 (+0100) Subject: Return unpropertized strings for filename and message-id X-Git-Tag: 0.1~323 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=b7898b0c2a1038a9a0214dcac18c873a21070ccc Return unpropertized strings for filename and message-id --- 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