diff options
Diffstat (limited to 'lisp/net/eudc-export.el')
| -rw-r--r-- | lisp/net/eudc-export.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/eudc-export.el b/lisp/net/eudc-export.el index aa8e52bd792..ac212e7a817 100644 --- a/lisp/net/eudc-export.el +++ b/lisp/net/eudc-export.el | |||
| @@ -187,11 +187,11 @@ LOCATION is used as the phone location for BBDB." | |||
| 187 | (bbdb-parse-phone phone) | 187 | (bbdb-parse-phone phone) |
| 188 | (bbdb-parse-phone-number phone))) | 188 | (bbdb-parse-phone-number phone))) |
| 189 | (error | 189 | (error |
| 190 | (if (string= "phone number unparsable." (cadr err)) | 190 | (if (equal "phone number unparsable." (error-slot-value err 1)) |
| 191 | (if (not (y-or-n-p (format "BBDB claims %S to be unparsable--insert anyway? " phone))) | 191 | (if (not (y-or-n-p (format "BBDB claims %S to be unparsable--insert anyway? " phone))) |
| 192 | (error "Phone number unparsable") | 192 | (error "Phone number unparsable") |
| 193 | (setq phone-list (list (bbdb-string-trim phone)))) | 193 | (setq phone-list (list (bbdb-string-trim phone)))) |
| 194 | (signal (car err) (cdr err))))) | 194 | (signal err)))) |
| 195 | (if (= 3 (length phone-list)) | 195 | (if (= 3 (length phone-list)) |
| 196 | (setq phone-list (append phone-list '(nil)))) | 196 | (setq phone-list (append phone-list '(nil)))) |
| 197 | (apply #'vector location phone-list))) | 197 | (apply #'vector location phone-list))) |