[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102498: (mailclient-send-it): Bind `
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102498: (mailclient-send-it): Bind `browse-url-mailto-function' to nil to |
Date: |
Wed, 24 Nov 2010 07:34:12 +0100 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102498
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Wed 2010-11-24 07:34:12 +0100
message:
(mailclient-send-it): Bind `browse-url-mailto-function' to nil to
use the external browser function to send the mail.
modified:
lisp/ChangeLog
lisp/mail/mailclient.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-11-24 06:29:06 +0000
+++ b/lisp/ChangeLog 2010-11-24 06:34:12 +0000
@@ -1,5 +1,9 @@
2010-11-24 Lars Magne Ingebrigtsen <address@hidden>
+ * mail/mailclient.el (browse-url): Require.
+ (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
+ use the external browser function to send the mail (bug#7469).
+
* net/browse-url.el (browse-url-browser-function): Revert the
default back to the previous value, since the new value broke
mailclient.el.
=== modified file 'lisp/mail/mailclient.el'
--- a/lisp/mail/mailclient.el 2010-01-13 08:35:10 +0000
+++ b/lisp/mail/mailclient.el 2010-11-24 06:34:12 +0000
@@ -46,6 +46,7 @@
(require 'sendmail) ;; for mail-sendmail-undelimit-header
(require 'mail-utils) ;; for mail-fetch-field
+(require 'browse-url)
(defcustom mailclient-place-body-on-clipboard-flag
(fboundp 'w32-set-clipboard-data)
@@ -122,7 +123,10 @@
(while (and (re-search-forward "\n\n\n*" delimline t)
(< (point) delimline))
(replace-match "\n"))
- (let ((case-fold-search t))
+ (let ((case-fold-search t)
+ ;; Use the external browser function to send the
+ ;; message.
+ (browse-url-mailto-function nil))
;; initialize limiter
(setq mailclient-delim-static "?")
;; construct and call up mailto URL
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102498: (mailclient-send-it): Bind `browse-url-mailto-function' to nil to,
Lars Magne Ingebrigtsen <=