diff options
author | Ronan Waide <waider@waider.ie> | 2001-01-24 19:19:28 +0000 |
---|---|---|
committer | Ronan Waide <waider@waider.ie> | 2001-01-24 19:19:28 +0000 |
commit | 640f57a3c3b97dbfdb1c70d5c89bbe0e0eb5a003 (patch) | |
tree | 64d6fa8252838a5304d282fa3f5a33dccb3523d8 /lisp | |
parent | 7668f24fdcfff70133872c4d2f9d81d84b17e5af (diff) |
Add support for M-TAB to expand mail aliases
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/bbdb-com.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/bbdb-com.el b/lisp/bbdb-com.el index 6f0259b..339067d 100644 --- a/lisp/bbdb-com.el +++ b/lisp/bbdb-com.el @@ -332,6 +332,9 @@ is nil...\)" ;;; Parsing other things +(defvar bbdb-expand-mail-aliases t + "If non-nil, expand mail aliases in bbdb-complete-name") + (defvar bbdb-check-zip-codes-p t "If non-nil, require legal zip codes when entering an address. The format of legal zip codes is determined by the variable @@ -2028,7 +2031,9 @@ Completion behaviour can be controlled with `bbdb-completion-type'." ;; No match ((null completion) (bbdb-complete-name-cleanup) - (ding)) + (if bbdb-expand-mail-aliases ;; maybe check for mail alias + (expand-abbrev) + (ding))) ;; Perfect match... ((eq completion t) |