branch: externals/caml
commit c0bf2068e6edaa0dba5c669a6b93ba05840712eb
Author: Christophe Troestler <[email protected]>
Commit: Xavier Leroy <[email protected]>
Follow Emacs Lisp conventions for caml.el (#1346)
* Reformat header of caml.el to follow Emacs Lisp package conventions
This is important to make sure the package keeps being distributed in
MELPA. See https://github.com/melpa/melpa/issues/5002
* Update .gitattributes for caml.el
---
caml.el | 55 ++++++++++++++++++++++++++++++++++---------------------
1 file changed, 34 insertions(+), 21 deletions(-)
diff --git a/caml.el b/caml.el
index 87d534e..f325ad2 100644
--- a/caml.el
+++ b/caml.el
@@ -1,26 +1,39 @@
-;**************************************************************************
-;* *
-;* OCaml *
-;* *
-;* Jacques Garrigue and Ian T Zimmerman *
-;* *
-;* Copyright 1997 Institut National de Recherche en Informatique et *
-;* en Automatique. *
-;* *
-;* All rights reserved. This file is distributed under the terms of *
-;* the GNU General Public License. *
-;* *
-;**************************************************************************
-
;;; caml.el --- OCaml code editing commands for Emacs
-;; Xavier Leroy, july 1993.
+;; Copyright (C) 1997-2017 Institut National de Recherche en Informatique et
en Automatique.
+
+;; Author: Xavier Leroy <[email protected]>
+;; Jacques Garrigue <[email protected]>
+;; Ian T Zimmerman <[email protected]>
+;; Maintainer: Damien Doligez <[email protected]>
+;; Created: July 1993
+;; Keywords: OCaml
+;; Homepage: https://github.com/ocaml/ocaml/
+
+;; This file is not part of GNU Emacs.
+
+;; This file is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published
+;; by the Free Software Foundation; either version 2, or (at your
+;; option) any later version. See <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; A major mode for editing OCaml code (see <http://ocaml.org/>) in Emacs.
+
+;; Some of its major features include:
-;;indentation code is Copyright (C) 1996 by Ian T Zimmerman <[email protected]>
-;;copying: covered by the current FSF General Public License.
+;; - syntax highlighting (font lock);
+;; - automatic indentation;
+;; - querying the type of expressions (using compiler generated annot files);
+;; - running an OCaml REPL within Emacs;
+;; - scans declarations and places them in a menu.
-;; indentation code adapted for OCaml by Jacques Garrigue,
-;; july 1997. <[email protected]>
+
+;; The original indentation code was the work of Ian T Zimmerman and
+;; was adapted for OCaml by Jacques Garrigue in July 1997.
+
+;;; Code:
;;user customizable variables
(defvar caml-quote-char "'"
@@ -1961,6 +1974,6 @@ with prefix arg, indent that many phrases starting with
the current phrase."
(autoload 'ocaml-add-path "caml-help"
"Add search path for documentation." t)
-;;; caml.el ends here
-
(provide 'caml)
+
+;;; caml.el ends here