aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/erlang-start.el
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-11-08 09:50:13 +0100
committerDan Gudmundsson <[email protected]>2016-11-08 09:50:13 +0100
commit0805ac891e3a048e0d7382dec84b8682ad9c6c9c (patch)
treea3c9aa157be5c0c7dc4640d946e48b96f80ccbd7 /lib/tools/emacs/erlang-start.el
parentd6eeabe7a49587ee26851a0e6796cbeb78628fab (diff)
parent755b3c2c41012a54c7177aa88d9fc98f342fa5ff (diff)
downloadotp-0805ac891e3a048e0d7382dec84b8682ad9c6c9c.tar.gz
otp-0805ac891e3a048e0d7382dec84b8682ad9c6c9c.tar.bz2
otp-0805ac891e3a048e0d7382dec84b8682ad9c6c9c.zip
Merge branch 'maint'
* maint: New commands to ease looking up OTP documentation
Diffstat (limited to 'lib/tools/emacs/erlang-start.el')
-rw-r--r--lib/tools/emacs/erlang-start.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/tools/emacs/erlang-start.el b/lib/tools/emacs/erlang-start.el
index f9a6d24b2c..160057e179 100644
--- a/lib/tools/emacs/erlang-start.el
+++ b/lib/tools/emacs/erlang-start.el
@@ -78,9 +78,23 @@
(autoload 'erlang-find-tag-other-window "erlang"
"Like `find-tag-other-window'. Capable of retreiving Erlang modules.")
+;;
+;; Declare functions in "erlang-edoc.el".
+;;
+
(autoload 'erlang-edoc-mode "erlang-edoc" "Toggle Erlang-Edoc mode on or off." t)
;;
+;; Declare functions in "erldoc.el".
+;;
+
+(autoload 'erldoc-browse "erldoc" "\n\n(fn MFA)" t nil)
+(autoload 'erldoc-browse-topic "erldoc" "\n\n(fn TOPIC)" t nil)
+(autoload 'erldoc-apropos "erldoc" "\n\n(fn PATTERN)" t nil)
+(autoload 'erldoc-eldoc-function "erldoc" "\
+A function suitable for `eldoc-documentation-function'.\n\n(fn)" nil nil)
+
+;;
;; Associate files extensions ".erl" and ".hrl" with Erlang mode.
;;