[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix bug #11580

From: Sergio Durigan Junior
Subject: [PATCH] Fix bug #11580
Date: Fri, 21 Sep 2012 23:40:42 -0300


The attached patch fixes the bug listed on $SUBJECT.  Maybe there are
better ways to fix it, but a quick hack did the trick so I am sending it
for review.

It is the first time I contribute to Emacs, so I don't know if should
post this patch elsewhere.  I would be glad to receive feedback about

Thank you,


2012-09-22  Sergio Durigan Junior  <address@hidden>

        * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Do not
        treat empty strings.  (Bug#11580).

=== modified file 'lisp/net/eudcb-bbdb.el'
--- lisp/net/eudcb-bbdb.el      2012-01-19 07:21:25 +0000
+++ lisp/net/eudcb-bbdb.el      2012-09-22 02:15:16 +0000
@@ -167,7 +167,7 @@
        (setq val "Unknown BBDB attribute")))
-      (if val
+      (if (and val (or (listp val) (not (string= val ""))))
         ((memq attr '(phones addresses))
          (setq eudc-rec (append val eudc-rec)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]