Mercurial > emacs
changeset 51807:96f6726bae4d
(ehelp-command): Use defalias to define ehelp-command.
Give it a doc string, and autoload it.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 07 Jul 2003 21:05:17 +0000 |
parents | 96c06b458966 |
children | fb3e76b44f41 |
files | lisp/ehelp.el |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)