X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-lib.el;h=241fe8c445d2c96c07f3efc80262df022666e3f1;hb=8015cbff263606f009b5750d23b28ee332c25db8;hp=924253733a8de115ef7b0d263ba9ce7cb9ed4b5a;hpb=643ce61c1babf6e73ca7e03fb907282e7ee3b176;p=notmuch diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 92425373..241fe8c4 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -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." @@ -147,14 +148,14 @@ the user hasn't set this variable with the old or new value." (setq list (cdr list))) (nreverse out))) -; This lets us avoid compiling these replacement functions when emacs -; is sufficiently new enough to supply them alone. We do the macro -; treatment rather than just wrapping our defun calls in a when form -; specifically so that the compiler never sees the code on new emacs, -; (since the code is triggering warnings that we don't know how to get -; rid of. -; -; A more clever macro here would accept a condition and a list of forms. +;; This lets us avoid compiling these replacement functions when emacs +;; is sufficiently new enough to supply them alone. We do the macro +;; treatment rather than just wrapping our defun calls in a when form +;; specifically so that the compiler never sees the code on new emacs, +;; (since the code is triggering warnings that we don't know how to get +;; rid of. +;; +;; A more clever macro here would accept a condition and a list of forms. (defmacro compile-on-emacs-prior-to-23 (form) "Conditionally evaluate form only on emacs < emacs-23." (list 'when (< emacs-major-version 23)