On 2016-02-06 20:32, "Roland Winkler" <wink...@gnu.org> 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 arg of bbdb-save is the optional arg PROMPT.  So
> this arg is always non-nil when called by the hook (thus prompting
> before saving).  Is this what you want?
> Otherwise use something like
> (add-hook 'bbdb-after-change-hook (lambda (arg) (bbdb-save)))

Indeed, I was wondering why there was a prompt. It’s all well now,
thanks a lot.


OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated February 7, 2016, Mauna Loa Obs.): 405.98 ppm

Attachment: signature.asc
Description: PGP signature

Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to