aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2003-01-12 20:48:49 +0000
committerAndreas Schwab2003-01-12 20:48:49 +0000
commit6b8236923e39e8f5974fe92886a2e4bbfd59dae9 (patch)
tree97a1aba9615c10f2e56c17acd114cb115ba5ee3d
parenta70f1658c82cab521707ddd33260a815e54c558c (diff)
downloademacs-6b8236923e39e8f5974fe92886a2e4bbfd59dae9.tar.gz
emacs-6b8236923e39e8f5974fe92886a2e4bbfd59dae9.zip
(Commentary): Use command remapping instead of
substitute-key-definition.
-rw-r--r--lisp/mail/mailabbrev.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el
index 3412a791f77..b2edf777861 100644
--- a/lisp/mail/mailabbrev.el
+++ b/lisp/mail/mailabbrev.el
@@ -1,6 +1,6 @@
1;;; mailabbrev.el --- abbrev-expansion of mail aliases 1;;; mailabbrev.el --- abbrev-expansion of mail aliases
2 2
3;; Copyright (C) 1985, 86, 87, 92, 93, 96, 1997, 2000, 2002 3;; Copyright (C) 1985, 86, 87, 92, 93, 96, 1997, 2000, 2002, 2003
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Jamie Zawinski <jwz@lucid.com>, now <jwz@jwz.org> 6;; Author: Jamie Zawinski <jwz@lucid.com>, now <jwz@jwz.org>
@@ -111,10 +111,8 @@
111;; (add-hook 111;; (add-hook
112;; 'mail-mode-hook 112;; 'mail-mode-hook
113;; (lambda () 113;; (lambda ()
114;; (substitute-key-definition 'next-line 'mail-abbrev-next-line 114;; (define-key mail-mode-map [remap next-line] 'mail-abbrev-next-line)
115;; mail-mode-map global-map) 115;; (define-key mail-mode-map [remap end-of-buffer] 'mail-abbrev-end-of-buffer)))
116;; (substitute-key-definition 'end-of-buffer 'mail-abbrev-end-of-buffer
117;; mail-mode-map global-map)))
118;; 116;;
119;; If you want multiple addresses separated by a string other than ", " then 117;; If you want multiple addresses separated by a string other than ", " then
120;; you can set the variable mail-alias-separator-string to it. This has to 118;; you can set the variable mail-alias-separator-string to it. This has to