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)))

------------------------------------------------------------------------------
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!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to