Re: can I auto save the bbdb file after each change?

2016-02-08 Thread Alan Schmitt
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 >

Re: can I auto save the bbdb file after each change?

2016-02-06 Thread Roland Winkler
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

Re: can I auto save the bbdb file after each change?

2016-02-05 Thread Eric Abrahamsen
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

Re: can I auto save the bbdb file after each change?

2016-02-05 Thread Alan Schmitt
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. >