]> git.eshelyaron.com Git - emacs.git/commitdiff
Heed switch-function argument in gnus-user-agent
authorBasil L. Contovounesios <contovob@tcd.ie>
Wed, 11 Apr 2018 21:21:59 +0000 (23:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 11 Apr 2018 21:21:59 +0000 (23:21 +0200)
* lisp/gnus/gnus-msg.el (gnus-msg-mail): Heed switch-action argument
when falling back to message-user-agent because Gnus is not
running (bug#28992).

lisp/gnus/gnus-msg.el

index 04661ec9481eb88617ec9a172fb41447999617f1..d5610bff73910cfdab8b360ce49ee741647635b7 100644 (file)
@@ -535,7 +535,7 @@ instead."
       (progn
        (message "Gnus not running; using plain Message mode")
        (message-mail to subject other-headers continue
-                     nil yank-action send-actions return-action))
+                      switch-action yank-action send-actions return-action))
     (let ((buf (current-buffer))
          ;; Don't use posting styles corresponding to any existing group.
          (group-name gnus-newsgroup-name)