/etc/emacs/site-start.d/50erlang-mode.el is in erlang-mode 1:18.3-dfsg-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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))
|