1 ;;; bbdb-mu4e.el --- BBDB interface to mu4e -*- lexical-binding: t -*-
3 ;; Copyright (C) 2015-2017 Free Software Foundation, Inc.
5 ;; This file is part of the Insidious Big Brother Database (aka BBDB),
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.
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.
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/>.
21 ;; This file contains the BBDB interface to mu4e.
22 ;; See the BBDB info manual for documentation.
27 (if t
(require 'mu4e-view
))
29 (defvar mu4e-view-mode-map
)
32 (defun bbdb-insinuate-mu4e ()
34 Do not call this in your init file. Use `bbdb-initialize'."
35 ;; Tackle headers later
36 ;; (define-key mu4e-headers-mode-map ":" 'bbdb-mua-display-sender)
37 ;; (define-key mu4e-headers-mode-map ";" 'bbdb-mua-edit-field-sender)
38 ;; Do we need keybindings for more commands? Suggestions welcome.
39 (define-key mu4e-view-mode-map
":" 'bbdb-mua-display-sender
)
40 (define-key mu4e-view-mode-map
";" 'bbdb-mua-edit-field-sender
))
44 ;;; bbdb-mu4e.el ends here