Uwe Brauer <[EMAIL PROTECTED]> writes:
Hi Uwe,
> > ,----[ C-h v bbdb-mail-abbrev-expand-hook RET ]
> > | bbdb-mail-abbrev-expand-hook is a variable defined in `bbdb-com.el'.
> > | Its value is nil
> > |
> > | Documentation:
> > | *Hook or hooks invoked each time an alias is expanded.
> > | The hook is called with two arguments the alias and the list of
> records.
> > `----
>
> > for your purpose?
>
>
> Unfortunately this returns an error which I attach
The error is because the function you added to that hook
(`sigadapt-insert-signature') has a different number of arguments than
the functions in `bbdb-mail-abbrev-expand-hook' are expected to have. I
don't know `sigadapt-insert-signature', but if it has zero args, you'd
do something like that:
(add-hook 'bbdb-mail-abbrev-hook
(lambda (alias rec) (sigadapt-insert-signature)))
Bye,
Tassilo
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/