my-emacs-d/elpa/erlang-20151013.157/erlang-autoloads.el

145 lines
5.3 KiB
EmacsLisp
Raw Normal View History

2014-11-10 15:29:59 +00:00
;;; erlang-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))
2016-04-21 21:27:19 +00:00
;;;### (autoloads nil "erlang" "erlang.el" (22297 19833 531790 580000))
2014-11-10 15:29:59 +00:00
;;; Generated autoloads from erlang.el
(autoload 'erlang-mode "erlang" "\
Major mode for editing Erlang source files in Emacs.
It knows about syntax and comment, it can indent code, it is capable
of fontifying the source file, the TAGS commands are aware of Erlang
modules, and the Erlang man pages can be accessed.
Should this module, \"erlang.el\", be installed properly, Erlang mode
is activated whenever an Erlang source or header file is loaded into
Emacs. To indicate this, the mode line should contain the word
\"Erlang\".
The main feature of Erlang mode is indentation, press TAB and the
current line will be indented correctly.
Comments starting with only one `%' are indented to the column stored
in the variable `comment-column'. Comments starting with two `%':s
are indented with the same indentation as code. Comments starting
with at least three `%':s are indented to the first column.
However, Erlang mode contains much more, this is a list of the most
useful commands:
TAB - Indent the line.
C-c C-q - Indent current function.
M-; - Create a comment at the end of the line.
M-q - Fill a comment, i.e. wrap lines so that they (hopefully)
will look better.
M-a - Goto the beginning of an Erlang clause.
M-C-a - Ditto for function.
M-e - Goto the end of an Erlang clause.
M-C-e - Ditto for function.
M-h - Mark current Erlang clause.
M-C-h - Ditto for function.
C-c C-z - Start, or switch to, an inferior Erlang shell.
C-c C-k - Compile current file.
C-x ` - Next error.
, - Electric comma.
; - Electric semicolon.
Erlang mode check the name of the file against the module name when
saving, whenever a mismatch occurs Erlang mode offers to modify the
source.
The variable `erlang-electric-commands' controls the electric
commands. To deactivate all of them, set it to nil.
There exists a large number of commands and variables in the Erlang
module. Please press `M-x apropos RET erlang RET' to see a complete
list. Press `C-h f name-of-function RET' and `C-h v name-of-variable
RET'to see the full description of functions and variables,
respectively.
On entry to this mode the contents of the hook `erlang-mode-hook' is
executed.
Please see the beginning of the file `erlang.el' for more information
and examples of hooks.
Other commands:
\\{erlang-mode-map}
\(fn)" t nil)
2016-04-21 21:27:19 +00:00
(dolist (r '("\\.erl$" "\\.app\\.src$" "\\.escript" "\\.hrl$" "\\.xrl$" "\\.yrl" "/ebin/.+\\.app")) (add-to-list 'auto-mode-alist (cons r 'erlang-mode)))
2014-11-10 15:29:59 +00:00
(autoload 'erlang-find-tag "erlang" "\
2016-04-21 21:27:19 +00:00
Like `find-tag'. Capable of retrieving Erlang modules.
2014-11-10 15:29:59 +00:00
Tags can be given on the forms `tag', `module:', `module:tag'.
\(fn MODTAGNAME &optional NEXT-P REGEXP-P)" t nil)
(autoload 'erlang-find-tag-other-window "erlang" "\
Like `find-tag-other-window' but aware of Erlang modules.
\(fn TAGNAME &optional NEXT-P REGEXP-P)" t nil)
(autoload 'erlang-shell "erlang" "\
Start a new Erlang shell.
The variable `erlang-shell-function' decides which method to use,
default is to start a new Erlang host. It is possible that, in the
future, a new shell on an already running host will be started.
\(fn)" t nil)
(autoload 'run-erlang "erlang" "Start a new Erlang shell." t)
(autoload 'erlang-compile "erlang" "\
Compile Erlang module in current buffer.
\(fn)" t nil)
(autoload 'inferior-erlang "erlang" "\
Run an inferior Erlang.
2016-04-21 21:27:19 +00:00
With prefix command, prompt for command to start Erlang with.
2014-11-10 15:29:59 +00:00
This is just like running Erlang in a normal shell, except that
an Emacs buffer is used for input and output.
2016-04-21 21:27:19 +00:00
\\<comint-mode-map>
The command line history can be accessed with \\[comint-previous-input] and \\[comint-next-input].
2014-11-10 15:29:59 +00:00
The history is saved between sessions.
Entry to this mode calls the functions in the variables
`comint-mode-hook' and `erlang-shell-mode-hook' with no arguments.
The following commands imitate the usual Unix interrupt and
editing control characters:
\\{erlang-shell-mode-map}
2016-04-21 21:27:19 +00:00
\(fn &optional COMMAND)" t nil)
;;;***
;;;### (autoloads nil "erlang-start" "erlang-start.el" (22297 19833
;;;;;; 146797 463000))
;;; Generated autoloads from erlang-start.el
(let ((a '("\\.erl\\'" . erlang-mode)) (b '("\\.hrl\\'" . erlang-mode))) (or (assoc (car a) auto-mode-alist) (setq auto-mode-alist (cons a auto-mode-alist))) (or (assoc (car b) auto-mode-alist) (setq auto-mode-alist (cons b auto-mode-alist))))
(add-to-list 'interpreter-mode-alist (cons "escript" 'erlang-mode))
(let ((erl-ext '(".jam" ".vee" ".beam"))) (while erl-ext (let ((cie completion-ignored-extensions)) (while (and cie (not (string-equal (car cie) (car erl-ext)))) (setq cie (cdr cie))) (if (null cie) (setq completion-ignored-extensions (cons (car erl-ext) completion-ignored-extensions)))) (setq erl-ext (cdr erl-ext))))
;;;***
;;;### (autoloads nil nil ("erlang-eunit.el" "erlang-flymake.el"
;;;;;; "erlang-pkg.el" "erlang-skels-old.el" "erlang-skels.el" "erlang_appwiz.el")
;;;;;; (22297 19834 170483 735000))
2014-11-10 15:29:59 +00:00
;;;***
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; End:
;;; erlang-autoloads.el ends here