Robert Widhopf-Fenk wrote:
> Are you paranoid, or are there any bugs I missed ? ;-)

Mostly I just cut'n'pasted from elsewhere :-)


> Your code should give you an error when a record has a
> "readonly" field as you are returning a string which is
> neither t nor a number.  BTW (if "" t) will return t,
> i.e. also the empty string is true!

It does work fine (if sub-optimal).  Any string seems to be considered
true.  E.g.: (if "1" t) also returns t.


> (setq bbdb-quiet-about-name-mismatches
>   '(if (assq 'readonly (bbdb-record-raw-notes record)) t))

Much better, thanks.

Cheers,
Len.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to