projects
/
elisp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3f9b6
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 10 Mar 2014 11:20:46 +0000
(12:20 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 10 Mar 2014 11:20:46 +0000
(12:20 +0100)
vm
patch
|
blob
|
history
diff --git
a/vm
b/vm
index
0f4a218
..
6b4b1fb
100644
(file)
--- 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))