From: Richard M. Stallman Date: Mon, 7 Jul 2003 21:05:17 +0000 (+0000) Subject: (ehelp-command): Use defalias to define ehelp-command. X-Git-Tag: ttn-vms-21-2-B4~9440 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6e5cbb634eb25d76d5d336685e083fcab9414016;p=emacs.git (ehelp-command): Use defalias to define ehelp-command. Give it a doc string, and autoload it. --- 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)