]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-message.el
cli: implement structured output version 4
[notmuch] / emacs / notmuch-message.el
index 4dc48832f1412ec4a1dfd41fcee64b7f70a06549..55e4cfee98cee93cc2e6f06591f0bad81b7cc1ca 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-message.el --- message-mode functions specific to notmuch
+;;; notmuch-message.el --- message-mode functions specific to notmuch
 ;;
 ;; Copyright © Jesse Rosenthal
 ;;
 ;; General Public License for more details.
 ;;
 ;; You should have received a copy of the GNU General Public License
-;; along with Notmuch.  If not, see <http://www.gnu.org/licenses/>.
+;; along with Notmuch.  If not, see <https://www.gnu.org/licenses/>.
 ;;
 ;; Authors: Jesse Rosenthal <jrosenthal@jhu.edu>
 
+;;; Code:
+
 (require 'message)
 (require 'notmuch-tag)
 (require 'notmuch-mua)
@@ -40,9 +42,11 @@ the \"inbox\" and \"todo\" tags, you would set:
   ;; get the in-reply-to header and parse it for the message id.
   (let ((rep (mail-header-parse-addresses (message-field-value "In-Reply-To"))))
     (when (and notmuch-message-replied-tags rep)
-      (funcall 'notmuch-tag (notmuch-id-to-query (car (car rep)))
+      (notmuch-tag (notmuch-id-to-query (car (car rep)))
               (notmuch-tag-change-list notmuch-message-replied-tags)))))
 
 (add-hook 'message-send-hook 'notmuch-message-mark-replied)
 
 (provide 'notmuch-message)
+
+;;; notmuch-message.el ends here