diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-04-16 03:57:23 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-04-16 03:57:23 +0000 |
commit | da5689022054df5cef071695669ba838796bcc9b (patch) | |
tree | b1ba37ad61dfef4e4f12ccbdf56087452b19c982 /lisp/goto-addr.el | |
parent | 91bfbb0ba1876cd4e52ec117af6f80089987e35a (diff) | |
download | emacs-da5689022054df5cef071695669ba838796bcc9b.tar.gz |
(goto-address-send-using-mh-e):
Renamed from goto-address-send-using-mhe. Require `mh-comp'.
Diffstat (limited to 'lisp/goto-addr.el')
-rw-r--r-- | lisp/goto-addr.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/goto-addr.el b/lisp/goto-addr.el index 89645ec08e9..30f7eca8137 100644 --- a/lisp/goto-addr.el +++ b/lisp/goto-addr.el @@ -42,7 +42,7 @@ ;; By default, goto-address now sends using `mail' instead of `mh-send'. ;; To use mh-e to send mail, add the following to your .emacs file: ;; -;; (setq goto-address-mail-method 'goto-address-send-using-mhe) +;; (setq goto-address-mail-method 'goto-address-send-using-mh-e) ;; ;; The mouse click method is bound to [mouse-2] on highlighted URL's or ;; e-mail addresses only; it functions normally everywhere else. To bind @@ -98,7 +98,7 @@ But only if `goto-address-highlight-p' is also non-nil.") 'goto-address-send-using-mail "*Function to compose mail. Two pre-made functions are `goto-address-send-using-mail' (sendmail); -and `goto-address-send-using-mhe' (MH-E).") +and `goto-address-send-using-mh-e' (MH-E).") (defvar goto-address-highlight-keymap (let ((m (make-sparse-keymap))) @@ -194,7 +194,8 @@ address. If no e-mail address found, return the empty string." (buffer-substring (match-beginning 0) (match-end 0)) ""))) -(defun goto-address-send-using-mhe (to) +(defun goto-address-send-using-mh-e (to) + (require 'mh-comp) (mh-find-path) (let ((cc (mh-read-address "Cc: ")) (subject (read-string "Subject: ")) @@ -202,6 +203,8 @@ address. If no e-mail address found, return the empty string." (delete-other-windows) (mh-send-sub to cc subject config))) +(fset 'goto-address-send-using-mhe 'goto-address-send-using-mh-e) + (defun goto-address-send-using-mail (to) (mail-other-window nil to) (and (goto-char (point-min)) |