On 2016-02-06 20:32, "Roland Winkler" writes:
> On Fri Feb 5 2016 Alan Schmitt wrote:
>> Thanks a lot for the suggestion! It was simply a matter of:
>>
>> (add-hook 'bbdb-after-change-hook 'bbdb-save)
>
> bbdb-after-change-hook runs with one argument, the record that was
> changed. The first ar
On Fri Feb 5 2016 Alan Schmitt wrote:
> Thanks a lot for the suggestion! It was simply a matter of:
>
> (add-hook 'bbdb-after-change-hook 'bbdb-save)
bbdb-after-change-hook runs with one argument, the record that was
changed. The first arg of bbdb-save is the optional arg PROMPT. So
this arg is
Hello Eric,
On 2016-02-05 18:23, Eric Abrahamsen writes:
> Alan Schmitt writes:
>
>> Hello,
>>
>> Is there a way to automatically save the bbdb file after each change?
>> I searched for `bbdb*save' but could not find anything relevant.
>
> You'll probably want one of the hooks: look for bbdb-*-
Alan Schmitt writes:
> Hello,
>
> Is there a way to automatically save the bbdb file after each change?
> I searched for `bbdb*save' but could not find anything relevant.
You'll probably want one of the hooks: look for bbdb-*-hook. I think
`bbdb-after-change-hook' should do it.
Yours,
Eric
--