]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-show.el
emacs: Fix quoting of Message-Id to fix test case of Id containing ".."
[notmuch] / emacs / notmuch-show.el
index 98d25ef4066445287d8ebba104c82f6f3d19e4cf..3fc3787c13496ed6c5b1f6a00077cf9496388b68 100644 (file)
@@ -726,7 +726,7 @@ All currently available key bindings:
 
 (defun notmuch-show-get-message-id ()
   "Return the message id of the current message."
-  (concat "id:" (notmuch-show-get-prop :id)))
+  (concat "id:\"" (notmuch-show-get-prop :id) "\""))
 
 ;; dme: Would it make sense to use a macro for many of these?