# HG changeset patch # User Richard M. Stallman # Date 1057611917 0 # Node ID 96f6726bae4d34bae5c34ff788c3241ba7790006 # Parent 96c06b4589663dd9a796d1760ab9af991a96c570 (ehelp-command): Use defalias to define ehelp-command. Give it a doc string, and autoload it. diff -r 96c06b458966 -r 96f6726bae4d lisp/ehelp.el --- a/lisp/ehelp.el Mon Jul 07 21:04:28 2003 +0000 +++ b/lisp/ehelp.el Mon Jul 07 21:05:17 2003 +0000 @@ -418,8 +418,11 @@ (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)