X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/5e809f552abee7fa064910575342301c4c8331ab..b56a5ae0fee0c641a3d874b4cce4c38813b941df:/lisp/mh-e/mh-alias.el diff --git a/lisp/mh-e/mh-alias.el b/lisp/mh-e/mh-alias.el index 8eeaaa7f55..69e47559a3 100644 --- a/lisp/mh-e/mh-alias.el +++ b/lisp/mh-e/mh-alias.el @@ -1,7 +1,8 @@ ;;; mh-alias.el --- MH-E mail alias completion and expansion ;; Copyright (C) 1994, 1995, 1996, 1997, -;; 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +;; 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 +;; Free Software Foundation, Inc. ;; Author: Peter S. Galbraith ;; Maintainer: Bill Wohler @@ -43,13 +44,11 @@ "Alist of aliases extracted from passwd file and their expansions.") (defvar mh-alias-tstamp nil "Time aliases were last loaded.") -(defvar mh-alias-read-address-map nil) -(unless mh-alias-read-address-map - (setq mh-alias-read-address-map - (copy-keymap minibuffer-local-completion-map)) - (define-key mh-alias-read-address-map - "," 'mh-alias-minibuffer-confirm-address) - (define-key mh-alias-read-address-map " " 'self-insert-command)) +(defvar mh-alias-read-address-map + (let ((map (copy-keymap minibuffer-local-completion-map))) + (define-key map "," 'mh-alias-minibuffer-confirm-address) + (define-key map " " 'self-insert-command) + map)) (defvar mh-alias-system-aliases '("/etc/nmh/MailAliases" "/etc/mh/MailAliases"