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