diff options
| author | Stefan Monnier | 2004-04-12 04:05:07 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-04-12 04:05:07 +0000 |
| commit | b81c0abbde9cd94c988086bf7cd7571eeb85593f (patch) | |
| tree | 5cbd1cb1532b6ff3a080832f8150811d12010fa5 | |
| parent | bebcf94029005bd6538dde4b16eb7d0ed720f7f6 (diff) | |
| download | emacs-b81c0abbde9cd94c988086bf7cd7571eeb85593f.tar.gz emacs-b81c0abbde9cd94c988086bf7cd7571eeb85593f.zip | |
(url-mailto): Avoid warning.
| -rw-r--r-- | lisp/url/url-mailto.el | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/lisp/url/url-mailto.el b/lisp/url/url-mailto.el index 98ca6a9e62a..c2b35051c31 100644 --- a/lisp/url/url-mailto.el +++ b/lisp/url/url-mailto.el | |||
| @@ -1,27 +1,30 @@ | |||
| 1 | ;;; url-mail.el --- Mail Uniform Resource Locator retrieval code | 1 | ;;; url-mail.el --- Mail Uniform Resource Locator retrieval code |
| 2 | |||
| 3 | ;; Copyright (c) 1996 - 1999 Free Software Foundation, Inc. | ||
| 4 | ;; Copyright (c) 1993 - 1996 by William M. Perry <wmperry@cs.indiana.edu> | ||
| 5 | |||
| 2 | ;; Keywords: comm, data, processes | 6 | ;; Keywords: comm, data, processes |
| 3 | 7 | ||
| 4 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 8 | ;; This file is part of GNU Emacs. |
| 5 | ;;; Copyright (c) 1993 - 1996 by William M. Perry <wmperry@cs.indiana.edu> | 9 | ;; |
| 6 | ;;; Copyright (c) 1996 - 1999 Free Software Foundation, Inc. | 10 | ;; GNU Emacs is free software; you can redistribute it and/or modify |
| 7 | ;;; | 11 | ;; it under the terms of the GNU General Public License as published by |
| 8 | ;;; This file is part of GNU Emacs. | 12 | ;; the Free Software Foundation; either version 2, or (at your option) |
| 9 | ;;; | 13 | ;; any later version. |
| 10 | ;;; GNU Emacs is free software; you can redistribute it and/or modify | 14 | ;; |
| 11 | ;;; it under the terms of the GNU General Public License as published by | 15 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 12 | ;;; the Free Software Foundation; either version 2, or (at your option) | 16 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ;;; any later version. | 17 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ;;; | 18 | ;; GNU General Public License for more details. |
| 15 | ;;; GNU Emacs is distributed in the hope that it will be useful, | 19 | ;; |
| 16 | ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 20 | ;; You should have received a copy of the GNU General Public License |
| 17 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 21 | ;; along with GNU Emacs; see the file COPYING. If not, write to the |
| 18 | ;;; GNU General Public License for more details. | 22 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 19 | ;;; | 23 | ;; Boston, MA 02111-1307, USA. |
| 20 | ;;; You should have received a copy of the GNU General Public License | 24 | |
| 21 | ;;; along with GNU Emacs; see the file COPYING. If not, write to the | 25 | ;;; Commentary: |
| 22 | ;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 26 | |
| 23 | ;;; Boston, MA 02111-1307, USA. | 27 | ;;; Code: |
| 24 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 25 | 28 | ||
| 26 | (eval-when-compile (require 'cl)) | 29 | (eval-when-compile (require 'cl)) |
| 27 | (require 'url-vars) | 30 | (require 'url-vars) |
| @@ -118,11 +121,12 @@ | |||
| 118 | (cond ((eq url-mail-command 'compose-mail) | 121 | (cond ((eq url-mail-command 'compose-mail) |
| 119 | (funcall (get mail-user-agent 'sendfunc) nil)) | 122 | (funcall (get mail-user-agent 'sendfunc) nil)) |
| 120 | ;; otherwise, we can't be sure | 123 | ;; otherwise, we can't be sure |
| 121 | ((fboundp 'message-mail) | 124 | ((fboundp 'message-send-and-exit) |
| 122 | (message-send-and-exit)) | 125 | (message-send-and-exit)) |
| 123 | (t (mail-send-and-exit nil))))) | 126 | (t (mail-send-and-exit nil))))) |
| 124 | nil)) | 127 | nil)) |
| 125 | 128 | ||
| 126 | (provide 'url-mailto) | 129 | (provide 'url-mailto) |
| 127 | 130 | ||
| 128 | ;;; arch-tag: 7b7ad52e-8760-497b-9444-75fae14e34c5 | 131 | ;; arch-tag: 7b7ad52e-8760-497b-9444-75fae14e34c5 |
| 132 | ;;; url-mailto.el ends here | ||