File: erlang-mode.emacsen-startup

package info (click to toggle)
erlang 1%3A21.2.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 186,672 kB
  • sloc: erlang: 1,385,067; xml: 388,825; ansic: 350,211; cpp: 51,513; makefile: 19,715; sh: 10,653; lisp: 9,336; java: 8,011; python: 4,853; perl: 3,977; asm: 3,413; pascal: 3,290; sed: 72
file content (12 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
;; installed in a subdirectory of the respective site-lisp directory.
;; We have to add this to the load-path:
(debian-pkg-add-load-path-item (concat "/usr/share/"
				       (symbol-name debian-emacs-flavor)
				       "/site-lisp/erlang"))
(setq erlang-root-dir "/usr/lib/erlang")
(setq exec-path (cons "/usr/lib/erlang/bin" exec-path))
(require 'erlang-start)

;; (setq auto-mode-alist (cons '("\\.erl$" . erlang-mode) auto-mode-alist))
;; (setq auto-mode-alist (cons '("\\.hrl$" . erlang-mode) auto-mode-alist))