]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: invert relation between 'notmuch-send and 'message customization groups
authorPieter Praet <pieter@praet.org>
Thu, 19 Jan 2012 19:13:05 +0000 (20:13 +0100)
committerDavid Bremner <bremner@debian.org>
Sat, 21 Jan 2012 12:43:47 +0000 (08:43 -0400)
'message contains options relevant to 'notmuch-send, not the other way around.

Thanks to Austin for suggesting `custom-add-to-group'.
  id:"20120118184408.GD16740@mit.edu"

emacs/notmuch-lib.el

index 924253733a8de115ef7b0d263ba9ce7cb9ed4b5a..e33e69a43ad5c6b2b8c72e17ec22e20241dc8e68 100644 (file)
@@ -42,8 +42,9 @@
 
 (defgroup notmuch-send nil
   "Sending messages from Notmuch."
-  :group 'notmuch
-  :group 'message)
+  :group 'notmuch)
+
+(custom-add-to-group 'notmuch-send 'message 'custom-group)
 
 (defgroup notmuch-crypto nil
   "Processing and display of cryptographic MIME parts."