Run message-send-hook when delaying articles
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 2 Aug 2013 12:37:49 +0000 (14:37 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 2 Aug 2013 12:37:49 +0000 (14:37 +0200)
* gnus-delay.el (gnus-delay-article): Run `message-send-hook' so that
we can get spell-checking etc.

lisp/ChangeLog
lisp/gnus-delay.el

index cdf48d1..e5f7d0f 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-delay.el (gnus-delay-article): Run `message-send-hook' so that
+       we can get spell-checking etc.
+
 2013-08-02  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * rfc2047.el (rfc2047-encode-message-header): Unify charsets into
index 921d241..24326b3 100644 (file)
@@ -80,6 +80,8 @@ DELAY is a string, giving the length of the time.  Possible values are:
    (list (read-string
          "Target date (YYYY-MM-DD), time (hh:mm), or length of delay (units in [mhdwMY]): "
          gnus-delay-default-delay)))
+  ;; Allow spell checking etc.
+  (message-send-hook)
   (let (num unit days year month day hour minute deadline)
     (cond ((string-match
            "\\([0-9][0-9][0-9]?[0-9]?\\)-\\([0-9]+\\)-\\([0-9]+\\)"