update erlang vendor

This commit is contained in:
Gleb Peregud 2012-02-14 13:46:18 +01:00
parent 10f7bebf95
commit 92eb17e3c0
11 changed files with 82 additions and 5 deletions

1
vendor/erlang vendored Symbolic link
View file

@ -0,0 +1 @@
erlang-2.7.0

15
vendor/erlang-2.7.0/AUTHORS vendored Normal file
View file

@ -0,0 +1,15 @@
Original Authors:
The Erlang emacs mode was written by Anders Lindgren.
Contributors:
Luke Gorrie
Dave Love
Maintainers:
Sverker Wiberg
Kent Boortz
Björn Gustavsson
Currently maintained by:
Ingela Anderton Andin
Dan Gudmundsson

55
vendor/erlang-2.7.0/README vendored Normal file
View file

@ -0,0 +1,55 @@
User configuration notes
========================
Below is a quick guide to necessary configurations for getting
started with the Erlang mode for Emacs. Please refer to the
Users guide and reference manual in the documentation for the
Erlang/OTP application tools for more information.
For UNIX users
--------------
To set up the Erlang Emacs mode on UNIX systems, edit/create the file
.emacs in the your home directory.
Below is a complete example of what should be added to a user's .emacs
provided that OTP is installed in the directory /usr/local/otp:
(setq load-path (cons "/usr/local/otp/lib/tools-<ToolsVer>/emacs"
load-path))
(setq erlang-root-dir "/usr/local/otp")
(setq exec-path (cons "/usr/local/otp/bin" exec-path))
(require 'erlang-start)
For Windows users
-----------------
To set up the Erlang Emacs mode on Windows systems, edit/create the
file .emacs, the location of the file depends on the configuration of
the system. If the HOME environment variable is set, Emacs will look
for the .emacs file in the directory indicated by the HOME
variable. If HOME is not set, Emacs will look for the .emacs file in
C:\.
Below is a complete example of what should be added to a user's .emacs
provided that OTP is installed in the directory C:\Program
Files\erl-<Ver>:
(setq load-path (cons "C:/Program Files/erl<Ver>/lib/tools-<ToolsVer>/emacs"
load-path))
(setq erlang-root-dir "C:/Program Files/erl<Ver>")
(setq exec-path (cons "C:/Program Files/erl<Ver>/bin" exec-path))
(require 'erlang-start)
Miscellaneous addons
--------------------
In order to check erlang source code on the fly, add the following
line to your .emacs file (after erlang-start, see above). See
erlang-flymake.el for more information on how to customize the syntax
check.
(require 'erlang-flymake)

3
vendor/erlang-2.7.0/erlang-pkg.el vendored Normal file
View file

@ -0,0 +1,3 @@
(define-package "erlang" "2.7.0"
"Erlang major mode"
'((flymake-mode "0.4.6")))

View file

@ -1,4 +1,10 @@
;; erlang.el --- Major modes for editing and running Erlang ;;; erlang.el --- Major modes for editing and running Erlang
;; Copyright (C) 2004 Free Software Foundation, Inc.
;; Author: Anders Lindgren
;; Keywords: erlang, languages, processes
;; Date: 2011-12-11
;; %CopyrightBegin% ;; %CopyrightBegin%
;; ;;
;; Copyright Ericsson AB 1996-2011. All Rights Reserved. ;; Copyright Ericsson AB 1996-2011. All Rights Reserved.
@ -15,10 +21,7 @@
;; under the License. ;; under the License.
;; ;;
;; %CopyrightEnd% ;; %CopyrightEnd%
;; ;;
;; Copyright (C) 2004 Free Software Foundation, Inc.
;; Author: Anders Lindgren
;; Keywords: erlang, languages, processes
;; Lars Thorsén's modifications of 2000-06-07 included. ;; Lars Thorsén's modifications of 2000-06-07 included.
;; The original version of this package was written by Robert Virding. ;; The original version of this package was written by Robert Virding.