summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRobert Fenk <fenk@users.sourceforge.net>2000-10-20 14:30:17 +0000
committerRobert Fenk <fenk@users.sourceforge.net>2000-10-20 14:30:17 +0000
commita72e57f4be91874273bcf637ee8fb30e036065e3 (patch)
treeb758dc924f35ab45047fc15207546a6ec89d027b /lisp
parentc869fea8886083cc50935f35a5056fda62a25fbf (diff)
(bbdb-complete-name): minor bugfix for cycling of addresses.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/bbdb-com.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/bbdb-com.el b/lisp/bbdb-com.el
index 2c43ee4..1215bc9 100644
--- a/lisp/bbdb-com.el
+++ b/lisp/bbdb-com.el
@@ -2015,7 +2015,7 @@ Completion behaviour can be controlled with `bbdb-completion-type'."
(setq rec (bbdb-search-simple name the-net))
(setq nets (bbdb-record-net rec))
(setq the-net (member the-net nets)))
- (setq the-net (if (cdr the-net) (cadr nets) (car nets)))
+ (setq the-net (if (cdr the-net) (cadr the-net) (car nets)))
(delete-region beg end)
(insert (bbdb-dwim-net-address rec the-net))
(setq completion 'done)))