diff options
author | Ulrich Müller <ulm@gentoo.org> | 2012-12-11 21:55:49 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2012-12-11 21:55:49 +0000 |
commit | c43e19899ab8c1c852348e91cc2b6681cfb8472b (patch) | |
tree | e1093addaade6f99eb3aea853f82654818799dc6 /app-emacs/ocaml-mode/files | |
parent | Use udev.eclass and udev_newrules instead of hardcoding wrong path. (diff) | |
download | gentoo-2-c43e19899ab8c1c852348e91cc2b6681cfb8472b.tar.gz gentoo-2-c43e19899ab8c1c852348e91cc2b6681cfb8472b.tar.bz2 gentoo-2-c43e19899ab8c1c852348e91cc2b6681cfb8472b.zip |
Fix autoloading of inferior-caml-set-font-lock. Thanks to sgbmyr@gmail.com in bug 446868.
(Portage version: 2.1.11.36/cvs/Linux x86_64, signed Manifest commit with key E7BE08CA7DC6EA25)
Diffstat (limited to 'app-emacs/ocaml-mode/files')
-rw-r--r-- | app-emacs/ocaml-mode/files/50ocaml-mode-gentoo-3.12.1.el | 10 |
1 files changed, 10 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) |