[emacs] don’t display *compilation* on build success (uses cl-letf)
[~bandali/configs] / lisp / bbdb / bbdb-message.el
1 ;;; bbdb-message.el --- BBDB interface to Mail Composition Packages. -*- lexical-binding: t -*-
2
3 ;; Copyright (C) 2010-2017 Free Software Foundation, Inc.
4
5 ;; This file is part of the Insidious Big Brother Database (aka BBDB),
6
7 ;; BBDB is free software: you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public License as published by
9 ;; the Free Software Foundation, either version 3 of the License, or
10 ;; (at your option) any later version.
11
12 ;; BBDB is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;; GNU General Public License for more details.
16
17 ;; You should have received a copy of the GNU General Public License
18 ;; along with BBDB. If not, see <http://www.gnu.org/licenses/>.
19
20 ;;; Commentary:
21 ;;; This file contains the BBDB interface to Mail Composition Packages.
22 ;;; See the BBDB info manual for documentation.
23
24 ;;; Code:
25
26 (require 'bbdb)
27 (require 'message)
28 (require 'sendmail)
29
30 ;;;###autoload
31 (defun bbdb-insinuate-message ()
32 "Hook BBDB into Message Mode.
33 Do not call this in your init file. Use `bbdb-initialize'."
34 ;; Suggestions welcome: What are good keybindings for the following
35 ;; commands that do not collide with existing bindings?
36 ;; (define-key message-mode-map "'" 'bbdb-mua-display-recipients)
37 ;; (define-key message-mode-map ";" 'bbdb-mua-edit-field-recipients)
38 ;; (define-key message-mode-map "/" 'bbdb)
39 (if bbdb-complete-mail
40 (define-key message-mode-map "\M-\t" 'bbdb-complete-mail)))
41
42 ;;;###autoload
43 (defun bbdb-insinuate-mail ()
44 "Hook BBDB into Mail Mode.
45 Do not call this in your init file. Use `bbdb-initialize'."
46 ;; Suggestions welcome: What are good keybindings for the following
47 ;; commands that do not collide with existing bindings?
48 ;; (define-key mail-mode-map "'" 'bbdb-mua-display-recipients)
49 ;; (define-key mail-mode-map ";" 'bbdb-mua-edit-field-recipients)
50 ;; (define-key mail-mode-map "/" 'bbdb)
51 (if bbdb-complete-mail
52 (define-key mail-mode-map "\M-\t" 'bbdb-complete-mail)))
53
54 (provide 'bbdb-message)
55
56 ;;; bbdb-message.el ends here