diff options
author | Julien Danjou <julien@danjou.info> | 2010-09-29 21:24:43 +0200 |
---|---|---|
committer | Barak A. Pearlmutter <barak+git@cs.nuim.ie> | 2011-03-12 16:16:11 +0000 |
commit | b39442e3d91663ca0b0a56029e1340a5be92825d (patch) | |
tree | b6783ddf55f85ae5d96bbb7cc3b2832656ebc69a | |
parent | a71b0e8afec2b3baf7793610aa94fd3bc213d75c (diff) |
bbdb/gnus-split-myaddr-regexp: Remove usage of deprecated gnus-local-domain
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lisp/bbdb-gnus.el | 10 |
2 files changed, 9 insertions, 6 deletions
@@ -2,6 +2,11 @@ * texinfo/bbdb.texinfo: include pointers to github repo. +2010-09-29 Julien Danjou <julien@danjou.info> + + * lisp/bbdb-gnus.el (bbdb/gnus-split-myaddr-regexp): Remove usage + of deprecated gnus-local-domain. + 2010-04-20 Barak A. Pearlmutter <barak@cs.nuim.ie> * README: Emacs, meaning both GNU Emacs and XEmacs. diff --git a/lisp/bbdb-gnus.el b/lisp/bbdb-gnus.el index 0ea33db..e983487 100644 --- a/lisp/bbdb-gnus.el +++ b/lisp/bbdb-gnus.el @@ -580,13 +580,11 @@ excellent choice." (defcustom bbdb/gnus-split-myaddr-regexp (concat "^" (user-login-name) "$\\|^" (user-login-name) "@\\([-a-z0-9]+\\.\\)*" - (or gnus-local-domain (message-make-domain) + (or (message-make-domain) (system-name) "") "$") - "*This regular expression should match your address as found in the -From header of your mail. You should make sure gnus-local-domain or -gnus-use-generic-from are set before loading this module, if they differ -from (system-name). If you send mail/news from multiple addresses, then -you'll likely have to set this yourself anyways." + "This regular expression should match your address as found in +the From header of your mail. If you send mail/news from multiple +addresses, then you'll likely have to set this yourself anyways." :group 'bbdb-mua-specific-gnus-splitting :type 'string) |