diff options
author | Richard M. Stallman <rms@gnu.org> | 2003-07-07 21:05:17 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2003-07-07 21:05:17 +0000 |
commit | 6e5cbb634eb25d76d5d336685e083fcab9414016 (patch) | |
tree | 5791e60cc04f65b842ae83b65f8dc37f9d45d9d4 /lisp/ehelp.el | |
parent | 6df8016c931e3007459a47661b1a567f10d39a0d (diff) | |
download | emacs-6e5cbb634eb25d76d5d336685e083fcab9414016.tar.gz |
(ehelp-command): Use defalias to define ehelp-command.
Give it a doc string, and autoload it.
Diffstat (limited to 'lisp/ehelp.el')
-rw-r--r-- | lisp/ehelp.el | 7 |
1 files 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) |