]> git.eshelyaron.com Git - emacs.git/commitdiff
(ehelp-command): Use defalias to define ehelp-command.
authorRichard M. Stallman <rms@gnu.org>
Mon, 7 Jul 2003 21:05:17 +0000 (21:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 7 Jul 2003 21:05:17 +0000 (21:05 +0000)
Give it a doc string, and autoload it.

lisp/ehelp.el

index f59960688423a89310eb86aa346304633df5b70c..51ba11d4c86552202abf1319f6a546c05621b098 100644 (file)
@@ -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)