Skip to content

Commit

Permalink
Added BBDBv3 compatible init code
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilHudson authored and kensanata committed Apr 29, 2015
1 parent 9fafd19 commit 1b60dbc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion BbdbMailingLists
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,19 @@ database. Here is an example for how I do it:

You also need to tell the BBDB to define the mail abbreviations for
you. This depends on the mail package you use -- here is the code for
your ~/.emacs for both plain mail-mode, or the message-mode that comes
your ##~/.emacs## for both plain mail-mode, or the message-mode that comes
with Gnus.

In BBDBv2:

(add-hook 'mail-setup-hook 'bbdb-define-all-aliases)
(add-hook 'message-setup-hook 'bbdb-define-all-aliases)

In BBDBv3:

(add-hook 'mail-setup-hook 'bbdb-mail-aliases)
(add-hook 'message-setup-hook 'bbdb-mail-aliases)

Now you can create a new mail and type `schroeder SPC' at the To:
header. Since "schroeder" is a mail-abbrev, this will get expanded to
all the recipients with the schroeder mail-alias in the BBDB.
Expand Down

0 comments on commit 1b60dbc

Please sign in to comment.