From 6e5cbb634eb25d76d5d336685e083fcab9414016 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 7 Jul 2003 21:05:17 +0000 Subject: [PATCH] (ehelp-command): Use defalias to define ehelp-command. Give it a doc string, and autoload it. --- lisp/ehelp.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/ehelp.el b/lisp/ehelp.el index f5996068842..51ba11d4c86 100644 --- a/lisp/ehelp.el +++ b/lisp/ehelp.el @@ -418,8 +418,11 @@ will select it.)" (substitute-key-definition 'describe-bindings 'electric-describe-bindings map) (substitute-key-definition 'describe-syntax 'electric-describe-syntax map) - (setq ehelp-map map) - (fset 'ehelp-command map))) + (setq ehelp-map map))) + +;;;###(autoload 'ehelp-command "ehelp" "Prefix command for ehelp." t 'keymap) +(defalias 'ehelp-command ehelp-map) +(put 'ehelp-command 'documentation "Prefix command for ehelp.") (provide 'ehelp) -- 2.39.2