]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
emacs: do not modify subject in search or show
[notmuch] / emacs / notmuch.el
index 736d00f366d7c0abd137c99368f593e68772f7b1..a6724fabc032263df85a05665a034a3ad2053763 100644 (file)
@@ -507,7 +507,7 @@ Complete list of currently available key bindings:
   "Display the currently selected thread."
   (interactive)
   (let ((thread-id (notmuch-search-find-thread-id))
-       (subject (notmuch-prettify-subject (notmuch-search-find-subject))))
+       (subject (notmuch-search-find-subject)))
     (if (> (length thread-id) 0)
        (notmuch-show thread-id
                      (current-buffer)
@@ -877,8 +877,7 @@ non-authors is found, assume that all of the authors match."
                      ;; We currently just throw away excluded matches.
                      (unless (eq (aref count 1) ?0)
                        (let ((beg (point)))
-                         (notmuch-search-show-result date count authors
-                                                     (notmuch-prettify-subject subject) tags)
+                         (notmuch-search-show-result date count authors subject tags)
                          (notmuch-search-color-line beg (point) tag-list)
                          (put-text-property beg (point) 'notmuch-search-thread-id thread-id)
                          (put-text-property beg (point) 'notmuch-search-authors authors)