]> code.delx.au - gnu-emacs/blob - lisp/gnus/messcompat.el
Leading "*" in the doc of defvars is long obsolete.
[gnu-emacs] / lisp / gnus / messcompat.el
1 ;;; messcompat.el --- making message mode compatible with mail mode
2
3 ;; Copyright (C) 1996-2016 Free Software Foundation, Inc.
4
5 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
6 ;; Keywords: mail, news
7
8 ;; This file is part of GNU Emacs.
9
10 ;; GNU Emacs is free software: you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation, either version 3 of the License, or
13 ;; (at your option) any later version.
14
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
19
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
22
23 ;;; Commentary:
24
25 ;; This file tries to provide backward compatibility with sendmail.el
26 ;; for Message mode. It should be used by simply adding
27 ;;
28 ;; (require 'messcompat)
29 ;;
30 ;; to the .emacs file. Loading it after Message mode has been
31 ;; loaded will have no effect.
32
33 ;;; Code:
34
35 (require 'sendmail)
36
37 ;(setq message-from-style mail-from-style)
38 ;(setq message-interactive mail-interactive)
39 (setq message-setup-hook mail-setup-hook)
40 (setq message-mode-hook mail-mode-hook)
41 ;(setq message-indentation-spaces mail-indentation-spaces)
42 ;(setq message-signature mail-signature)
43 ;(setq message-signature-file mail-signature-file)
44 (setq message-default-headers mail-default-headers)
45 (setq message-send-hook mail-send-hook)
46 (setq message-send-mail-function send-mail-function)
47
48 (provide 'messcompat)
49
50 ;;; messcompat.el ends here
51
52 ;; Local Variables:
53 ;; no-byte-compile: t
54 ;; End: