emacs-devel
[Top][All Lists]
Advanced

[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

Hi,

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
it.

Thank you,

-- 
Sergio

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 @@
                         'record))))
        (t
        (setq val "Unknown BBDB attribute")))
-      (if val
+      (if (and val (or (listp val) (not (string= val ""))))
        (cond
         ((memq attr '(phones addresses))
          (setq eudc-rec (append val eudc-rec)))




reply via email to

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