Ronan Waide <[EMAIL PROTECTED]> writes:

> On November 17, [EMAIL PROTECTED] said:
>> Small patch I needed to get bbdb-print work:
>
> Ta. Applied, will be in CVS shortly.

I think, the indent parameter is used when bbdb-format-address is
called for screen formating and not for printing.  So I like this
patch better:

diff -u -r1.171 bbdb.el
--- lisp/bbdb.el        2001/10/14 19:47:20     1.171
+++ lisp/bbdb.el        2001/11/18 21:00:56
@@ -1448,7 +1448,8 @@
       (setq alist (cdr alist)))
     ;; if we haven't reached the end of functions, we got a hit.
     (if alist
-        (funcall (cdar alist) addr indent))))
+        (if printing (funcall (cdar alist) addr)
+          (funcall (cdar alist) addr indent)))))
 
 (defun bbdb-format-record-name-company (record)
   (let ((name (or (bbdb-record-name record) "???"))


Gerd

_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to