summaryrefslogtreecommitdiff
path: root/app-emacs/ocaml-mode/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/ocaml-mode/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/ocaml-mode/files')
-rw-r--r--app-emacs/ocaml-mode/files/50ocaml-mode-gentoo-3.12.1.el10
-rw-r--r--app-emacs/ocaml-mode/files/50ocaml-mode-gentoo.el10
2 files changed, 20 insertions, 0 deletions
diff --git a/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo-3.12.1.el b/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo-3.12.1.el
new file mode 100644
index 000000000000..bea123308024
--- /dev/null
+++ b/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo-3.12.1.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'auto-mode-alist '("\\.ml[iylp]?\\'" . caml-mode))
+(autoload 'caml-mode "caml" "Major mode for editing Caml code." t)
+(autoload 'run-caml "inf-caml" "Run an inferior Caml process." t)
+(autoload 'camldebug "camldebug"
+ "Run camldebug on program FILE in buffer *camldebug-FILE*." t)
+(autoload 'inferior-caml-set-font-lock "caml-font")
+
+(eval-after-load "caml" '(require 'caml-font))
+(add-hook 'inferior-caml-mode-hooks 'inferior-caml-set-font-lock)
diff --git a/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo.el b/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo.el
new file mode 100644
index 000000000000..8f45033a3fce
--- /dev/null
+++ b/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'auto-mode-alist '("\\.ml[iylp]?\\'" . caml-mode))
+(autoload 'caml-mode "caml" "Major mode for editing Caml code." t)
+(autoload 'run-caml "inf-caml" "Run an inferior Caml process." t)
+(autoload 'camldebug "camldebug"
+ "Run camldebug on program FILE in buffer *camldebug-FILE*." t)
+(autoload 'inferior-caml-mode-font-hook "caml-font")
+
+(eval-after-load "caml" '(require 'caml-font))
+(add-hook 'inferior-caml-mode-hooks 'inferior-caml-mode-font-hook)