]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix mailclient-send-it after recent browse-url rewrite
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 15 Sep 2020 13:27:46 +0000 (15:27 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 15 Sep 2020 13:27:46 +0000 (15:27 +0200)
* lisp/mail/mailclient.el (mailclient-send-it): Make this function
work again after the browse-url machinery was changed to use
browse-url-default-handlers instead.

lisp/mail/mailclient.el

index 08325484677cac866c51625d1b2ae2ccde5949cd..405ae17a12c474c47673fa5f19a9e270c86b1190 100644 (file)
@@ -134,7 +134,7 @@ The mail client is taken to be the handler of mailto URLs."
                character-coding
                ;; Use the external browser function to send the
                ;; message.
-               (browse-url-mailto-function nil))
+                (browse-url-default-handlers nil))
            ;; initialize limiter
            (setq mailclient-delim-static "?")
            ;; construct and call up mailto URL