From b7898b0c2a1038a9a0214dcac18c873a21070ccc Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Mon, 23 Nov 2009 17:57:31 +0100 Subject: [PATCH] Return unpropertized strings for filename and message-id --- notmuch.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.0