aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-07-07 21:05:17 +0000
committerRichard M. Stallman2003-07-07 21:05:17 +0000
commit6e5cbb634eb25d76d5d336685e083fcab9414016 (patch)
tree5791e60cc04f65b842ae83b65f8dc37f9d45d9d4
parent6df8016c931e3007459a47661b1a567f10d39a0d (diff)
downloademacs-6e5cbb634eb25d76d5d336685e083fcab9414016.tar.gz
emacs-6e5cbb634eb25d76d5d336685e083fcab9414016.zip
(ehelp-command): Use defalias to define ehelp-command.
Give it a doc string, and autoload it.
-rw-r--r--lisp/ehelp.el7
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.)"
418 (substitute-key-definition 'describe-bindings 'electric-describe-bindings map) 418 (substitute-key-definition 'describe-bindings 'electric-describe-bindings map)
419 (substitute-key-definition 'describe-syntax 'electric-describe-syntax map) 419 (substitute-key-definition 'describe-syntax 'electric-describe-syntax map)
420 420
421 (setq ehelp-map map) 421 (setq ehelp-map map)))
422 (fset 'ehelp-command map))) 422
423;;;###(autoload 'ehelp-command "ehelp" "Prefix command for ehelp." t 'keymap)
424(defalias 'ehelp-command ehelp-map)
425(put 'ehelp-command 'documentation "Prefix command for ehelp.")
423 426
424(provide 'ehelp) 427(provide 'ehelp)
425 428