changeset 43214:c7e8bcec1caf

(mail-mode-map): Use eval-after-load to change it.
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Feb 2002 09:45:44 +0000
parents 03de2881ebbb
children 1091aee059b8
files lisp/mail/mailabbrev.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mailabbrev.el	Sat Feb 09 09:28:36 2002 +0000
+++ b/lisp/mail/mailabbrev.el	Sat Feb 09 09:45:44 2002 +0000
@@ -598,9 +598,11 @@
   (setq this-command 'end-of-buffer)
   (end-of-buffer arg))
 
-(define-key mail-mode-map "\C-c\C-a" 'mail-abbrev-insert-alias)
-(define-key mail-mode-map "\e\t"	; like lisp-complete-symbol
-  'mail-abbrev-complete-alias) 
+(eval-after-load "sendmail"
+  '(progn
+     (define-key mail-mode-map "\C-c\C-a" 'mail-abbrev-insert-alias)
+     (define-key mail-mode-map "\e\t"	; like lisp-complete-symbol
+       'mail-abbrev-complete-alias)))
 
 ;;(define-key mail-mode-map "\C-n" 'mail-abbrev-next-line)
 ;;(define-key mail-mode-map "\M->" 'mail-abbrev-end-of-buffer)