aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Tassilo Horn <tassilo@member.fsf.org>2009-11-23 17:57:31 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-26 13:18:20 -0800
commitb7898b0c2a1038a9a0214dcac18c873a21070ccc (patch)
tree68ad7a87f5c97f1b6cf7bb85e1f59b8c90ee8bf0 /notmuch.el
parentdc4d0a53a295e2df09d0ae79ded74f8d5fd0e1a4 (diff)
Return unpropertized strings for filename and message-id
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el4
1 files 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