X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=vm;h=6b4b1fba9e18422160119e4364593b775a9298f0;hb=4aa8fe5068e2fb109a007f7e1acf8445ec9fba24;hp=0f4a218b6f372e895646a8c3d8ac99f771b5cb6d;hpb=40f205380c5c7665513bae29ad0b8a785afbcc66;p=elisp.git diff --git a/vm b/vm index 0f4a218..6b4b1fb 100644 --- a/vm +++ b/vm @@ -662,7 +662,8 @@ instance, someone in bbdb named \"Paul Smith\" would generate an alias (email (car (elt record 6))) (alias (downcase (replace-regexp-in-string "\\([a-zA-Z]?\\)[^- ]*[- ]*" "\\1" name)))) - (if (and (> (length alias) 1) + (if (and email + (> (length alias) 1) ;; Do not overwrite an existing alias (not (and mail-abbrevs (intern-soft alias mail-abbrevs)))) (define-mail-abbrev alias email))